]> git.lizzy.rs Git - bspwm.git/blobdiff - ewmh.c
History is global and stacking is independent
[bspwm.git] / ewmh.c
diff --git a/ewmh.c b/ewmh.c
index ae1bfe062523824fa82cb74429afb8610531cb7f..c37d03cd6d551a9a624bb4162e600f39f3cbdccd 100644 (file)
--- a/ewmh.c
+++ b/ewmh.c
@@ -107,9 +107,6 @@ void ewmh_update_client_list(void)
             for (node_t *n = first_extrema(d->root); n != NULL; n = next_leaf(n, d->root))
                 wins[i++] = n->client->window;
 
-    if (i != num_clients)
-        return;
-
     xcb_ewmh_set_client_list(ewmh, default_screen, num_clients, wins);
     xcb_ewmh_set_client_list_stacking(ewmh, default_screen, num_clients, wins);
 }