]> git.sur5r.net Git - i3/i3/blobdiff - src/client.c
Implement clients going automatically into floating
[i3/i3] / src / client.c
index 9eb345654431b15c7b853e0887801b6dcefd6306..53cacbf4d69f713cb939c01540c054d28a80eacf 100644 (file)
@@ -186,7 +186,7 @@ void client_toggle_fullscreen(xcb_connection_t *conn, Client *client) {
                 LOG("leaving fullscreen mode\n");
                 client->fullscreen = false;
                 workspace->fullscreen_client = NULL;
-                if (client->floating) {
+                if (client->floating >= FLOATING_AUTO_ON) {
                         /* For floating clients it’s enough if we just reconfigure that window (in fact,
                          * re-rendering the layout will not update the client.) */
                         reposition_client(conn, client);