Implement 'fullscreen global'

This commit is contained in:
Michael Stapelberg
2011-06-10 18:27:20 +02:00
parent bef25d72aa
commit fb9d77305e
13 changed files with 79 additions and 41 deletions

View File

@ -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 */