1
0
Fork 0
mirror of https://github.com/davatorium/rofi.git synced 2025-04-14 17:43:01 -04:00

[View] xcb_clear_area fixed wrong argument order.

This commit is contained in:
Qball 2025-02-18 21:15:14 +01:00
parent c609e5e085
commit 47053f30d2

View file

@ -666,7 +666,8 @@ void rofi_view_set_selected_line(RofiViewState *state,
}
}
listview_set_selected(state->list_view, selected);
xcb_clear_area(xcb->connection, CacheState.main_window, 1, 0, 0, 1, 1);
// Clear the window and force an expose event resulting in a redraw.
xcb_clear_area(xcb->connection, 1, CacheState.main_window, 0, 0, 1, 1);
xcb_flush(xcb->connection);
}