From bc1507f96d83a19b01039c6914c3a4bed0f196f5 Mon Sep 17 00:00:00 2001 From: Uli Schlachter Date: Wed, 13 Mar 2013 21:20:13 +0100 Subject: [PATCH] Send correct size to fullscreen clients (FS#1093) Titlebars are not visible for fullscreen clients, so it doesn't make sense to substract the area used for the titlebar in ConfigureNotify events. Signed-off-by: Uli Schlachter --- objects/client.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/objects/client.c b/objects/client.c index a79dcd57..caefe80c 100644 --- a/objects/client.c +++ b/objects/client.c @@ -614,7 +614,8 @@ client_send_configure(client_t *c) { area_t geometry = c->geometry; - client_remove_titlebar_geometry(c, &geometry); + if (!c->fullscreen) + client_remove_titlebar_geometry(c, &geometry); xwindow_configure(c->window, geometry, c->border_width); }