From 47053f30d29c0b9dd5215195573227e78801c43c Mon Sep 17 00:00:00 2001 From: Qball Date: Tue, 18 Feb 2025 21:15:14 +0100 Subject: [PATCH] [View] xcb_clear_area fixed wrong argument order. --- source/view.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/view.c b/source/view.c index 59d4d6633..b87558be1 100644 --- a/source/view.c +++ b/source/view.c @@ -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); }