From: Grégoire Jadi Date: Thu, 25 Jul 2013 13:33:11 +0000 (+0200) Subject: * src/xwidget.c (xwidget_init_view): Transfer embedder ownership when the X-Git-Tag: emacs-25.0.90~2871^2~2 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=c569331a8e58416393f7b0997fb43fc962808639;p=emacs.git * src/xwidget.c (xwidget_init_view): Transfer embedder ownership when the pointer enter a widget, not on motion. --- 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); }