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 e830df6092
commit 72261c9750
1 changed files with 1 additions and 1 deletions

View File

@ -662,7 +662,7 @@ client_resize(client_t *c, area_t geometry, bool hints)
if(geometry.y + geometry.height < 0) if(geometry.y + geometry.height < 0)
geometry.y = 0; geometry.y = 0;
if(hints) if(hints && !c->fullscreen)
geometry = client_geometry_hints(c, geometry); geometry = client_geometry_hints(c, geometry);
if(geometry.width == 0 || geometry.height == 0) if(geometry.width == 0 || geometry.height == 0)