]> git.sur5r.net Git - i3/i3/blobdiff - src/util.c
Implement selecting the next tiling/floating window (using "focus")
[i3/i3] / src / util.c
index 762b9481338a14fa58e3da63561a939cd91c5d23..ed9dc49ab8ceb7f8422c2900618a4d41adb39514 100644 (file)
@@ -264,7 +264,7 @@ void unmap_workspace(xcb_connection_t *conn, Workspace *u_ws) {
 
         /* To find floating clients, we traverse the focus stack */
         SLIST_FOREACH(client, &(u_ws->focus_stack), focus_clients) {
-                if (client->floating <= FLOATING_USER_OFF)
+                if (!client_is_floating(client))
                         continue;
 
                 xcb_unmap_window(conn, client->frame);