1
0
Fork 0
mirror of https://github.com/davatorium/rofi.git synced 2024-11-25 13:55:34 -05:00
This commit is contained in:
Dave Davenport 2016-02-06 14:41:08 +01:00
parent adfc83f07d
commit c217307b43

View file

@ -439,10 +439,16 @@ int dmenu_switcher_dialog ( void )
if ( ( mretv & MENU_QUICK_SWITCH ) ) { if ( ( mretv & MENU_QUICK_SWITCH ) ) {
retv = 10 + ( mretv & MENU_LOWER_MASK ); retv = 10 + ( mretv & MENU_LOWER_MASK );
} }
rofi_view_free ( state );
g_free ( input );
mode_destroy ( &dmenu_mode );
return retv; return retv;
} }
pd->selected_line = next_pos - 1; pd->selected_line = next_pos - 1;
} }
// Restart
rofi_view_restart ( state );
rofi_view_set_selected_line ( state, pd->selected_line );
continue; continue;
} }
// We normally do not want to restart the loop. // We normally do not want to restart the loop.