Ignore size hints on fullscreen windows
If a window is fullscreen it is supposed to cover the full screen. Obeying size hints makes no sense in this case. Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
parent
b90aa39dc9
commit
6de41161f1
2
client.c
2
client.c
|
@ -878,7 +878,7 @@ client_resize(client_t *c, area_t geometry, bool hints)
|
|||
/* Real client geometry, please keep it contained to C code at the very least. */
|
||||
geometry_internal = titlebar_geometry_remove(c->titlebar, c->border_width, geometry);
|
||||
|
||||
if(hints)
|
||||
if(hints && !c->fullscreen)
|
||||
geometry_internal = client_geometry_hints(c, geometry_internal);
|
||||
|
||||
if(geometry_internal.width == 0 || geometry_internal.height == 0)
|
||||
|
|
Loading…
Reference in New Issue