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:
parent
d8a93dafa3
commit
bc1507f96d
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue