]> git.sur5r.net Git - i3/i3/commitdiff
Bugfix: Take window out of fullscreen before entering floating mode.
authorHelgi Kristvin Sigurbjarnarson <helgikrs@gmail.com>
Fri, 19 Mar 2010 00:18:25 +0000 (00:18 +0000)
committerMichael Stapelberg <michael@stapelberg.de>
Fri, 19 Mar 2010 00:25:00 +0000 (01:25 +0100)
src/commands.c

index 56f1ab27cb567f4cc967c5a32b8846b2b0fe8ea3..ee7fe08563fac17c3d3f9e030b5357dd1266a588 100644 (file)
@@ -1103,6 +1103,9 @@ void parse_command(xcb_connection_t *conn, const char *command) {
 
                 Workspace *ws = last_focused->workspace;
 
+                if(last_focused->fullscreen)
+                        client_leave_fullscreen(conn, last_focused);
+
                 toggle_floating_mode(conn, last_focused, false);
                 /* delete all empty columns/rows */
                 cleanup_table(conn, ws);