From b42d152ed01f78e57e8eec770f11436cbf2c930f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Gr=C3=A9goire=20Jadi?= Date: Thu, 25 Jul 2013 15:33:11 +0200 Subject: [PATCH] * src/xwidget.c (xwidget_init_view): Transfer all events. --- src/xwidget.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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", -- 2.39.2