X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=src%2Fx.c;h=64f5394b62a17613271aac83dec180220e878dce;hb=fb9d77305e96e78247b25138978d9c6708446499;hp=0228cd23100e802cfc82c9bf5ff660177bb8d018;hpb=bef25d72aa02066d087599c4b0ca313327979c98;p=i3%2Fi3 diff --git a/src/x.c b/src/x.c index 0228cd23..64f5394b 100644 --- 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 */