xcb_map_window(conn, client->frame);
/* Map all floating clients */
- SLIST_FOREACH(client, &(c_ws->focus_stack), focus_clients) {
- if (client->floating <= FLOATING_USER_OFF)
- continue;
-
- xcb_map_window(conn, client->frame);
- }
+ if (!c_ws->floating_hidden)
+ TAILQ_FOREACH(client, &(c_ws->floating_clients), floating_clients)
+ xcb_map_window(conn, client->frame);
/* Map all stack windows, if any */
struct Stack_Window *stack_win;
return;
}
+ if (command[0] == 'H') {
+ LOG("Hiding all floating windows\n");
+ floating_toggle_hide(conn, c_ws);
+ return;
+ }
+
enum { WITH_WINDOW, WITH_CONTAINER, WITH_WORKSPACE } with = WITH_WINDOW;
/* Is it a <with>? */