]> git.eshelyaron.com Git - emacs.git/commitdiff
* src/xwidget.c (xwidget_init_view): Transfer embedder ownership when the
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)
pointer enter a widget, not on motion.

src/xwidget.c

index bab26b99ef2aaa7a09d4d418b65e15bef079305c..6e98bb4f54b0aa0216a31dfb0b0d022e77a420b7 100644 (file)
@@ -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);
 
   }