Bugfix: Draw black border instead of background-color around clients with {width,height}_increment (Thanks xeen)
This commit is contained in:
parent
3fc63c69df
commit
7aec1bd1ef
|
@ -132,7 +132,9 @@ void decorate_window(xcb_connection_t *conn, Client *client, xcb_drawable_t draw
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* Draw a rectangle in background color around the window */
|
/* Draw a rectangle in background color around the window */
|
||||||
xcb_change_gc_single(conn, gc, XCB_GC_FOREGROUND, color->background);
|
if (client->borderless)
|
||||||
|
xcb_change_gc_single(conn, gc, XCB_GC_FOREGROUND, get_colorpixel(conn, "#000000"));
|
||||||
|
else xcb_change_gc_single(conn, gc, XCB_GC_FOREGROUND, color->background);
|
||||||
|
|
||||||
/* In stacking mode, we only render the rect for this specific decoration */
|
/* In stacking mode, we only render the rect for this specific decoration */
|
||||||
if (client->container != NULL && client->container->mode == MODE_STACK) {
|
if (client->container != NULL && client->container->mode == MODE_STACK) {
|
||||||
|
|
Loading…
Reference in New Issue