[View] Do not set rofi fullheight when num lines eq 0

This commit is contained in:
Dave Davenport 2017-06-06 17:49:24 +02:00
parent 2a18a46b24
commit d33edaf09d
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}