From 0b9abd1eb4cef1936c17818539e07e85ae61ae9b Mon Sep 17 00:00:00 2001 From: Helgi Kristvin Sigurbjarnarson Date: Fri, 19 Mar 2010 00:18:25 +0000 Subject: [PATCH] Bugfix: Take window out of fullscreen before entering floating mode. --- src/commands.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/commands.c b/src/commands.c index 56f1ab27..ee7fe085 100644 --- a/src/commands.c +++ b/src/commands.c @@ -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);