From 640f770b79b3c646fab8cad63076a7d58acdc44a Mon Sep 17 00:00:00 2001 From: Yuuki Harano Date: Tue, 29 Sep 2020 23:09:22 +0900 Subject: [PATCH] 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 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; } -- 2.39.5