From d33edaf09d53a9502959fefa69e075c998a9a1d6 Mon Sep 17 00:00:00 2001 From: Dave Davenport Date: Tue, 6 Jun 2017 17:49:24 +0200 Subject: [PATCH] [View] Do not set rofi fullheight when num lines eq 0 --- source/view.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/view.c b/source/view.c index 1f67035e..1308ae57 100644 --- a/source/view.c +++ b/source/view.c @@ -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; }