mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-10 12:40:10 +00:00
GtkGLArea: Correctly position/size input window on realize
This commit is contained in:
parent
6fbc439fd7
commit
ef9ac24e95
@ -268,6 +268,8 @@ gtk_gl_area_realize (GtkWidget *widget)
|
||||
|
||||
GTK_WIDGET_CLASS (gtk_gl_area_parent_class)->realize (widget);
|
||||
|
||||
gtk_widget_get_allocation (widget, &allocation);
|
||||
|
||||
attributes.window_type = GDK_WINDOW_CHILD;
|
||||
attributes.x = allocation.x;
|
||||
attributes.y = allocation.y;
|
||||
|
Loading…
Reference in New Issue
Block a user