From: Yuuki Harano Date: Tue, 29 Sep 2020 14:09:22 +0000 (+0900) Subject: Fix mouse cursor doesn't appear on motion events on xwidgets X-Git-Tag: emacs-29.0.90~3772 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=640f770b79b3c646fab8cad63076a7d58acdc44a;p=emacs.git Fix mouse cursor doesn't appear on motion events on xwidgets * src/xwidget.c (xwidget_osr_event_forward): Propagate motion notify. --- diff --git a/src/xwidget.c b/src/xwidget.c index e078a28a35b..e929df0a496 100644 --- a/src/xwidget.c +++ b/src/xwidget.c @@ -527,6 +527,11 @@ xwidget_osr_event_forward (GtkWidget *widget, GdkEvent *event, perhaps in xwgir_event_cb. */ gtk_main_do_event (eventcopy); +#ifdef HAVE_PGTK + /* Pgtk code needs this event */ + if (event->type == GDK_MOTION_NOTIFY) + return FALSE; +#endif /* Don't propagate this event further. */ return TRUE; }