1
0
Fork 0
mirror of https://github.com/davatorium/rofi.git synced 2024-11-18 13:54:36 -05:00

[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

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;