From 5ccd7b01e72fef5f9ab4b04880681ea94cbb2bd0 Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Fri, 7 Jan 2011 02:50:35 +0100 Subject: [PATCH] Bugfix: fix fullscreen mode for floating windows --- src/con.c | 6 ++++++ 1 file changed, 6 insertions(+) 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;