[Window] small fix to pass screen to stacking window list.

Issue: #1225
This commit is contained in:
Dave Davenport 2021-02-13 13:08:39 +01:00
parent b89a1dab35
commit 4e363e0c3f
1 changed files with 1 additions and 1 deletions

View File

@ -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;