From: Grégoire Jadi Date: Thu, 25 Jul 2013 13:33:11 +0000 (+0200) Subject: * src/xwidget.c (xwidget_init_view): Transfer all events. X-Git-Tag: emacs-25.0.90~2871^2~3 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=b42d152ed01f78e57e8eec770f11436cbf2c930f;p=emacs.git * src/xwidget.c (xwidget_init_view): Transfer all events. --- diff --git a/src/xwidget.c b/src/xwidget.c index b28893d895b..bab26b99ef2 100644 --- a/src/xwidget.c +++ b/src/xwidget.c @@ -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",