From: Michael Stapelberg Date: Fri, 7 Jan 2011 01:50:35 +0000 (+0100) Subject: Bugfix: fix fullscreen mode for floating windows X-Git-Tag: tree-pr2~132 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=5ccd7b01e72fef5f9ab4b04880681ea94cbb2bd0;p=i3%2Fi3 Bugfix: fix fullscreen mode for floating windows --- diff --git a/src/con.c b/src/con.c index 57dda39b..a2597b88 100644 --- a/src/con.c +++ b/src/con.c @@ -273,6 +273,12 @@ Con *con_get_fullscreen_con(Con *con) { entry->con = child; TAILQ_INSERT_TAIL(&bfs_head, entry, entries); } + + TAILQ_FOREACH(child, &(current->floating_head), floating_windows) { + entry = smalloc(sizeof(struct bfs_entry)); + entry->con = child; + TAILQ_INSERT_TAIL(&bfs_head, entry, entries); + } } return NULL;