Fixes bug #
2899305. Don't just automatically steal focus when entering
canvas. Require a click to get focus back.
enter_notify_event_cb (glView *view,
GdkEventCrossing *event)
{
- gtk_widget_grab_focus(GTK_WIDGET (view->canvas));
-
return FALSE;
}
glViewObject *view_object;
glViewObjectHandle handle;
+ gtk_widget_grab_focus(GTK_WIDGET (view->canvas));
+
cr = gdk_cairo_create (GTK_LAYOUT (view->canvas)->bin_window);
/*