From: Bastien Dejean Date: Mon, 3 Aug 2020 12:06:57 +0000 (+0200) Subject: Arrange across all desktops when handling struts X-Git-Url: https://git.lizzy.rs/?a=commitdiff_plain;ds=sidebyside;h=5298a9121134103a81b9a47dfafd949e6350c55c;p=bspwm.git Arrange across all desktops when handling struts Fixes #1165. --- diff --git a/src/window.c b/src/window.c index a22b5e7..cd2340d 100644 --- a/src/window.c +++ b/src/window.c @@ -81,7 +81,9 @@ bool manage_window(xcb_window_t win, rule_consequence_t *csq, int fd) if (!ignore_ewmh_struts && ewmh_handle_struts(win)) { for (monitor_t *m = mon_head; m != NULL; m = m->next) { - arrange(m, m->desk); + for (desktop_t *d = m->desk_head; d != NULL; d = d->next) { + arrange(m, d); + } } }