Bugfix: Take window out of fullscreen before entering floating mode.

This commit is contained in:
Helgi Kristvin Sigurbjarnarson 2010-03-19 00:18:25 +00:00 committed by Michael Stapelberg
parent d55e4ece83
commit 0b9abd1eb4

View 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);