From 72261c9750a67b1d11a65dfbae7c9a18675584c8 Mon Sep 17 00:00:00 2001 From: Uli Schlachter Date: Wed, 21 Jul 2010 17:48:58 +0200 Subject: [PATCH] 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 --- objects/client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/objects/client.c b/objects/client.c index 79d09ad3..4da66142 100644 --- a/objects/client.c +++ b/objects/client.c @@ -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)