From 1266717492f95e162b0b640abe0f0dc6b17dcbbe Mon Sep 17 00:00:00 2001 From: Scoopta Date: Fri, 8 May 2020 14:24:51 -0700 Subject: [PATCH] Added 1px to the total size to get rid of the slightly undersized window when using --lines --- src/wofi.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/wofi.c b/src/wofi.c index a5a9b4b..7d57fcd 100644 --- a/src/wofi.c +++ b/src/wofi.c @@ -471,6 +471,7 @@ static void widget_allocate(GtkWidget* widget, GdkRectangle* allocation, gpointe } if(lines > 0) { height = max_height * lines; + ++height; update_surface_size(); } }