]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix mouse cursor doesn't appear on motion events on xwidgets
authorYuuki Harano <masm+github@masm11.me>
Tue, 29 Sep 2020 14:09:22 +0000 (23:09 +0900)
committerJeff Walsh <jeff.walsh@drtusers-MacBook-Pro.local>
Tue, 24 Nov 2020 01:24:40 +0000 (12:24 +1100)
* src/xwidget.c (xwidget_osr_event_forward): Propagate motion notify.

src/xwidget.c

index e078a28a35b987e34e170d102c2a7b39ade82eb8..e929df0a496bede1ad46dddafc51e3ac8d0114ae 100644 (file)
@@ -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;
 }