]> git.sur5r.net Git - i3/i3/commitdiff
x.c: fix warning by removing unused variable
authorMichael Stapelberg <michael@stapelberg.de>
Sun, 24 Jul 2011 22:32:14 +0000 (00:32 +0200)
committerMichael Stapelberg <michael@stapelberg.de>
Sun, 24 Jul 2011 22:32:14 +0000 (00:32 +0200)
src/x.c

diff --git a/src/x.c b/src/x.c
index 3c2e1ef632c4355d1dc2aadac5607c445b1d8795..55f447de3b11bf391cc81a1c58a3cd7f9287ed76 100644 (file)
--- 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[] = {