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 <psychon@znc.in>
This commit is contained in:
Uli Schlachter 2013-03-13 21:20:13 +01:00
parent d8a93dafa3
commit bc1507f96d
1 changed files with 2 additions and 1 deletions

View File

@ -614,6 +614,7 @@ client_send_configure(client_t *c)
{ {
area_t geometry = c->geometry; area_t geometry = c->geometry;
if (!c->fullscreen)
client_remove_titlebar_geometry(c, &geometry); client_remove_titlebar_geometry(c, &geometry);
xwindow_configure(c->window, geometry, c->border_width); xwindow_configure(c->window, geometry, c->border_width);
} }