]> git.eshelyaron.com Git - emacs.git/commitdiff
* src/xwidget.c (xwidget_init_view): Transfer all events.
authorGrégoire Jadi <gregoire.jadi@gmail.com>
Thu, 25 Jul 2013 13:33:11 +0000 (15:33 +0200)
committerGrégoire Jadi <gregoire.jadi@gmail.com>
Thu, 25 Jul 2013 13:33:11 +0000 (15:33 +0200)
src/xwidget.c

index b28893d895bf6e999d644543f7efd528adb59955..bab26b99ef2aaa7a09d4d418b65e15bef079305c 100644 (file)
@@ -994,10 +994,7 @@ xwidget_init_view (struct xwidget *xww,
     printf("osr init:%s\n",SDATA(SYMBOL_NAME(xww->type)));
     xv->widget = gtk_drawing_area_new();
     gtk_widget_set_app_paintable ( xv->widget, TRUE); //because expose event handling
-    gtk_widget_add_events(xv->widget,
-                          GDK_BUTTON_PRESS_MASK
-                          | GDK_BUTTON_RELEASE_MASK
-                          | GDK_POINTER_MOTION_MASK);
+    gtk_widget_add_events(xv->widget, GDK_ALL_EVENTS_MASK);
 
     /* Draw the view on damage-event */
     g_signal_connect (G_OBJECT (xww->widgetwindow_osr), "damage-event",