]> git.sur5r.net Git - i3/i3/blobdiff - src/x.c
Implement 'fullscreen global'
[i3/i3] / src / x.c
diff --git a/src/x.c b/src/x.c
index 0228cd23100e802cfc82c9bf5ff660177bb8d018..64f5394b62a17613271aac83dec180220e878dce 100644 (file)
--- a/src/x.c
+++ b/src/x.c
@@ -308,7 +308,7 @@ void x_draw_decoration(Con *con) {
 
     /* 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) == con)
+    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 */