From 6de41161f1b9ac5e3c9c66e786db613efeae2205 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 --- client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client.c b/client.c index d258316f..94f665b3 100644 --- a/client.c +++ b/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)