From: Michael Stapelberg Date: Sun, 24 Jul 2011 22:32:14 +0000 (+0200) Subject: x.c: fix warning by removing unused variable X-Git-Tag: 4.0~14^2~49 X-Git-Url: https://git.sur5r.net/?p=i3%2Fi3;a=commitdiff_plain;h=18513e1638e1cd2e4c8bad08448be0f09e2c84d5 x.c: fix warning by removing unused variable --- diff --git a/src/x.c b/src/x.c index 3c2e1ef6..55f447de 100644 --- a/src/x.c +++ b/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[] = {