From: Helgi Kristvin Sigurbjarnarson Date: Fri, 19 Mar 2010 00:18:25 +0000 (+0000) Subject: Bugfix: Take window out of fullscreen before entering floating mode. X-Git-Tag: 3.e~6^2~58 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=62c45323290ede9c3be3e213b6e91a6a4d111045;p=i3%2Fi3 Bugfix: Take window out of fullscreen before entering floating mode. --- diff --git a/src/commands.c b/src/commands.c index 28bf7dc1..aefb3e5b 100644 --- a/src/commands.c +++ b/src/commands.c @@ -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);