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