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

Try to force propper showing of rofi.

This commit is contained in:
Dave Davenport 2016-01-20 23:08:19 +01:00
parent 984257fffc
commit 1e57dd40e1

View file

@ -2243,9 +2243,9 @@ static void error_trap_pop ( G_GNUC_UNUSED SnDisplay *display, Display *xdispl
} }
static gboolean delayed_start ( gpointer data ) static gboolean delayed_start ( gpointer data )
{ {
if ( XPending ( display ) ) { // Force some X Events to be handled.. seems the only way to get a reliable startup.
main_loop_x11_event_handler ( NULL ); menu_state_queue_redraw();
} main_loop_x11_event_handler ( NULL );
// menu_state_queue_redraw(); // menu_state_queue_redraw();
return FALSE; return FALSE;
} }