Added 1px to the total size to get rid of the slightly undersized window when using --lines
This commit is contained in:
1 parent
e0337b5b7a
commit
1266717492
1 file changed
+1
@@ -471,6 +471,7 @@ static void widget_allocate(GtkWidget* widget, GdkRectangle* allocation, gpointe
|
||||
}
|
||||
if(lines > 0) {
|
||||
height = max_height * lines;
|
||||
++height;
|
||||
update_surface_size();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user