summaryrefslogtreecommitdiffstats
path: root/source
diff options
context:
space:
mode:
authorDave Davenport <qball@gmpclient.org>2017-06-06 17:49:24 +0200
committerDave Davenport <qball@gmpclient.org>2017-06-06 17:49:24 +0200
commitd33edaf09d53a9502959fefa69e075c998a9a1d6 (patch)
treea862f9aca937695b20159f3cfb20772163560e36 /source
parent2a18a46b2444d3b2d6eb3976adf30f7e7a460b8a (diff)
[View] Do not set rofi fullheight when num lines eq 0
Diffstat (limited to 'source')
-rw-r--r--source/view.c2
1 files changed, 1 insertions, 1 deletions
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;
}