From 3fa1940a5c98798c7f10827d248fefab87c58baf Mon Sep 17 00:00:00 2001 From: Dave Davenport Date: Sun, 28 Feb 2016 18:13:58 +0100 Subject: [PATCH] Do a redraw after changing selected line --- source/view.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/view.c b/source/view.c index c049c888..d71d89cf 100644 --- a/source/view.c +++ b/source/view.c @@ -239,6 +239,8 @@ void rofi_view_set_selected_line ( RofiViewState *state, unsigned int selected_l } state->update = TRUE; + xcb_clear_area ( xcb_connection, main_window, 1, 0, 0, 1, 1 ); + xcb_flush ( xcb_connection ); } void rofi_view_free ( RofiViewState *state )