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:
Uli Schlachter 2010-07-21 17:48:58 +02:00
parent b90aa39dc9
commit 6de41161f1
1 changed files with 1 additions and 1 deletions

View File

@ -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)