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));
+
bin_window = gtk_layout_get_bin_window (GTK_LAYOUT (view->canvas));
cr = gdk_cairo_create (bin_window);