diff options
author | Dave Davenport <qball@gmpclient.org> | 2021-02-13 13:08:39 +0100 |
---|---|---|
committer | Dave Davenport <qball@gmpclient.org> | 2021-02-13 13:08:39 +0100 |
commit | 4e363e0c3fad1849caf661b7095dd21c2cb11e5d (patch) | |
tree | 4f1307c9ae8997d1710393007fa3a24cd503b1f2 | |
parent | b89a1dab35cae88ae9ee29d37a34f10eaf7c13e8 (diff) |
[Window] small fix to pass screen to stacking window list.
Issue: #1225
-rw-r--r-- | source/dialogs/window.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/dialogs/window.c b/source/dialogs/window.c index 71478407..56cc7f5b 100644 --- a/source/dialogs/window.c +++ b/source/dialogs/window.c @@ -491,7 +491,7 @@ static void _window_mode_load_data ( Mode *sw, unsigned int cd ) current_desktop = 0; } - c = xcb_ewmh_get_client_list_stacking ( &xcb->ewmh, 0 ); + c = xcb_ewmh_get_client_list_stacking ( &xcb->ewmh, xcb->screen_nbr ); xcb_ewmh_get_windows_reply_t clients = { 0, }; if ( xcb_ewmh_get_client_list_stacking_reply ( &xcb->ewmh, c, &clients, NULL ) ) { found = 1; |