Skip to content

Commit

Permalink
Arrange across all desktops when handling struts
Browse files Browse the repository at this point in the history
Fixes #1165.
  • Loading branch information
baskerville committed Aug 3, 2020
1 parent d4dee39 commit 5298a91
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/window.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}
}

Expand Down

0 comments on commit 5298a91

Please sign in to comment.