x.c: fix warning by removing unused variable
This commit is contained in:
parent
7a7764a0d9
commit
18513e1638
5
src/x.c
5
src/x.c
|
@ -315,11 +315,6 @@ void x_draw_decoration(Con *con) {
|
|||
parent->pixmap_recreated = false;
|
||||
con->pixmap_recreated = false;
|
||||
|
||||
/* If the con is in fullscreen mode, the decoration height we work with is set to 0 */
|
||||
Rect deco_rect = con->deco_rect;
|
||||
if (con_get_fullscreen_con(parent, CF_OUTPUT) == con)
|
||||
deco_rect.height = 0;
|
||||
|
||||
/* 2: draw the client.background, but only for the parts around the client_rect */
|
||||
if (con->window != NULL) {
|
||||
xcb_rectangle_t background[] = {
|
||||
|
|
Loading…
Reference in New Issue