From 18513e1638e1cd2e4c8bad08448be0f09e2c84d5 Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Mon, 25 Jul 2011 00:32:14 +0200 Subject: [PATCH] x.c: fix warning by removing unused variable --- src/x.c | 5 ----- 1 file changed, 5 deletions(-) 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[] = { -- 2.39.5