Bugfix: Fullscreen configure notifies mustn’t use absolute position/size
This commit is contained in:
parent
3c06ab1b98
commit
36bacc151e
|
@ -396,7 +396,7 @@ void toggle_fullscreen(xcb_connection_t *conn, Client *client) {
|
||||||
|
|
||||||
Rect child_rect = workspace->rect;
|
Rect child_rect = workspace->rect;
|
||||||
child_rect.x = child_rect.y = 0;
|
child_rect.x = child_rect.y = 0;
|
||||||
fake_absolute_configure_notify(conn, client);
|
fake_configure_notify(conn, child_rect, client->child);
|
||||||
} else {
|
} else {
|
||||||
LOG("leaving fullscreen mode\n");
|
LOG("leaving fullscreen mode\n");
|
||||||
/* Because the coordinates of the window haven’t changed, it would not be
|
/* Because the coordinates of the window haven’t changed, it would not be
|
||||||
|
|
Loading…
Reference in New Issue