From c569331a8e58416393f7b0997fb43fc962808639 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 embedder ownership when the pointer enter a widget, not on motion. --- src/xwidget.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/xwidget.c b/src/xwidget.c index bab26b99ef2..6e98bb4f54b 100644 --- a/src/xwidget.c +++ b/src/xwidget.c @@ -1011,12 +1011,12 @@ xwidget_init_view (struct xwidget *xww, G_CALLBACK (xwidget_osr_event_forward), NULL); }else{ //xwgir debug , orthogonal to forwarding - g_signal_connect (G_OBJECT (xv->widget), "motion-notify-event", + g_signal_connect (G_OBJECT (xv->widget), "enter-notify-event", G_CALLBACK (xwidget_osr_event_set_embedder), xv); } //draw - g_signal_connect (G_OBJECT ( xv->widget), "draw", + g_signal_connect (G_OBJECT (xv->widget), "draw", G_CALLBACK (xwidget_osr_draw_callback), NULL); } -- 2.39.2