return 1;
}
+ if (client->fullscreen) {
+ LOG("Client is in fullscreen mode\n");
+
+ Rect child_rect = client->container->workspace->rect;
+ child_rect.x = child_rect.y = 0;
+ fake_configure_notify(conn, child_rect, client->child);
+
+ return 1;
+ }
+
fake_absolute_configure_notify(conn, client);
return 1;
Client *last_focused = get_last_focused_client(conn, client->container, NULL);
/* In stacking containers, raise the client in respect to the one which was focused before */
- if (client->container->mode == MODE_STACK) {
+ if (client->container->mode == MODE_STACK && client->container->workspace->fullscreen_client == NULL) {
/* We need to get the client again, this time excluding the current client, because
* we might have just gone into stacking mode and need to raise */
Client *last_focused = get_last_focused_client(conn, client->container, client);