GtkGLArea: Correctly position/size input window on realize

This commit is contained in:
Alexander Larsson 2014-11-03 13:35:00 +01:00
parent 6fbc439fd7
commit ef9ac24e95

View File

@ -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;