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 1680071555
commit 62c4532329
1 changed files with 3 additions and 0 deletions

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