From d450d02ad66a507ef531e1431b3993cc104445e3 Mon Sep 17 00:00:00 2001 From: Dave Davenport Date: Mon, 14 Nov 2016 16:31:26 +0100 Subject: [PATCH] For redraw when rofi_view_set_active is called. --- source/view.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/view.c b/source/view.c index 908a3c2b..148e8316 100644 --- a/source/view.c +++ b/source/view.c @@ -337,6 +337,7 @@ void rofi_view_set_active ( RofiViewState *state ) } g_assert ( ( current_active_menu == NULL && state != NULL ) || ( current_active_menu != NULL && state == NULL ) ); current_active_menu = state; + rofi_view_queue_redraw (); } void rofi_view_set_selected_line ( RofiViewState *state, unsigned int selected_line ) @@ -1555,7 +1556,7 @@ int rofi_view_error_dialog ( const char *msg, int markup ) sn_launchee_context_complete ( xcb->sncontext ); } - // Set it has current window. + // Set it as current window. rofi_view_set_active ( state ); return TRUE; }