mirror of
https://github.com/davatorium/rofi.git
synced 2025-02-03 15:34:54 -05:00
[View] Do not set rofi fullheight when num lines eq 0
This commit is contained in:
parent
2a18a46b24
commit
d33edaf09d
1 changed files with 1 additions and 1 deletions
|
@ -1432,7 +1432,7 @@ void rofi_view_frame_callback ( void )
|
|||
static int rofi_view_calculate_height ( RofiViewState *state )
|
||||
{
|
||||
unsigned int height = 0;
|
||||
if ( listview_get_num_lines ( state->list_view ) == 0 || CacheState.fullscreen == TRUE ) {
|
||||
if ( CacheState.fullscreen == TRUE ) {
|
||||
height = CacheState.mon.h;
|
||||
return height;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue