window: Set overflow to HIDDEN

It really doesn't make sense for the general window to allow drawing
outside of it.
This commit is contained in:
Timm Bäder 2020-05-20 09:24:00 +02:00
parent a5e7e72dd8
commit 7659d8af3d

View File

@ -1497,6 +1497,8 @@ gtk_window_init (GtkWindow *window)
widget = GTK_WIDGET (window);
gtk_widget_set_overflow (widget, GTK_OVERFLOW_HIDDEN);
priv->title = NULL;
priv->geometry_info = NULL;
priv->focus_widget = NULL;