Commit ef9ac24e authored by Alexander Larsson's avatar Alexander Larsson

GtkGLArea: Correctly position/size input window on realize

parent 6fbc439f
......@@ -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;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment