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

For redraw when rofi_view_set_active is called.

This commit is contained in:
Dave Davenport 2016-11-14 16:31:26 +01:00
parent fcf3c33415
commit d450d02ad6

View file

@ -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 ) ); g_assert ( ( current_active_menu == NULL && state != NULL ) || ( current_active_menu != NULL && state == NULL ) );
current_active_menu = state; current_active_menu = state;
rofi_view_queue_redraw ();
} }
void rofi_view_set_selected_line ( RofiViewState *state, unsigned int selected_line ) 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 ); sn_launchee_context_complete ( xcb->sncontext );
} }
// Set it has current window. // Set it as current window.
rofi_view_set_active ( state ); rofi_view_set_active ( state );
return TRUE; return TRUE;
} }