]> git.sur5r.net Git - i3/i3/commitdiff
Bugfix: fix fullscreen mode for floating windows
authorMichael Stapelberg <michael@stapelberg.de>
Fri, 7 Jan 2011 01:50:35 +0000 (02:50 +0100)
committerMichael Stapelberg <michael@stapelberg.de>
Fri, 7 Jan 2011 01:50:35 +0000 (02:50 +0100)
src/con.c

index 57dda39b4f15b2fbadd2256926b266cd74747b7b..a2597b8824af9cd8e872f554723ba6f53d6d30be 100644 (file)
--- 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;