emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

feature/pgtk 640f770 088/100: Fix mouse cursor doesn't appear on motion


From: Yuuki Harano
Subject: feature/pgtk 640f770 088/100: Fix mouse cursor doesn't appear on motion events on xwidgets
Date: Tue, 24 Nov 2020 08:02:44 -0500 (EST)

branch: feature/pgtk
commit 640f770b79b3c646fab8cad63076a7d58acdc44a
Author: Yuuki Harano <masm+github@masm11.me>
Commit: Jeff Walsh <jeff.walsh@drtusers-MacBook-Pro.local>

    Fix mouse cursor doesn't appear on motion events on xwidgets
    
    * src/xwidget.c (xwidget_osr_event_forward): Propagate motion notify.
---
 src/xwidget.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/xwidget.c b/src/xwidget.c
index e078a28..e929df0 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;
 }



reply via email to

[Prev in Thread] Current Thread [Next in Thread]