]> 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:24:33 +0000 (01:24 +0100)
src/commands.c

index 28bf7dc15ae043dcd7c29674333de22486ff99b4..aefb3e5b4bec54bc4ebd7542a000d016c8fe182c 100644 (file)
@@ -1167,6 +1167,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);