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
e830df6092
commit
72261c9750
|
@ -662,7 +662,7 @@ client_resize(client_t *c, area_t geometry, bool hints)
|
|||
if(geometry.y + geometry.height < 0)
|
||||
geometry.y = 0;
|
||||
|
||||
if(hints)
|
||||
if(hints && !c->fullscreen)
|
||||
geometry = client_geometry_hints(c, geometry);
|
||||
|
||||
if(geometry.width == 0 || geometry.height == 0)
|
||||
|
|
Loading…
Reference in New Issue