mirror of
https://github.com/davatorium/rofi.git
synced 2024-11-18 13:54:36 -05:00
Re-calculate size before showing.
This commit is contained in:
parent
f123deb37b
commit
07cf9aabc7
1 changed files with 3 additions and 1 deletions
|
@ -1702,10 +1702,12 @@ RofiViewState *rofi_view_create ( Mode *sw,
|
|||
// Only needed when window is fixed size.
|
||||
if ( ( CacheState.flags & MENU_NORMAL_WINDOW ) == MENU_NORMAL_WINDOW ) {
|
||||
listview_set_fixed_num_lines ( state->list_view );
|
||||
rofi_view_window_update_size ( state );
|
||||
}
|
||||
|
||||
state->height = rofi_view_calculate_height ( state );
|
||||
// Move the window to the correct x,y position.
|
||||
rofi_view_calculate_window_position ( state );
|
||||
rofi_view_window_update_size ( state );
|
||||
|
||||
state->quit = FALSE;
|
||||
rofi_view_refilter ( state );
|
||||
|
|
Loading…
Reference in a new issue