x.c: fix warning by removing unused variable

This commit is contained in:
Michael Stapelberg 2011-07-25 00:32:14 +02:00
parent 7a7764a0d9
commit 18513e1638
1 changed files with 0 additions and 5 deletions

View File

@ -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[] = {