From 606d8ffe4568974157a61d61b3f3cf01c231ce6b Mon Sep 17 00:00:00 2001 From: Po Lu Date: Tue, 9 Nov 2021 08:24:45 +0100 Subject: [PATCH] Fix default target of motion events * src/xwidget.c (xwidget_motion_or_crossing): Default to widget_osr instead of its window (bug#51703). --- src/xwidget.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xwidget.c b/src/xwidget.c index 90178f441d1..d3a8d5eb82b 100644 --- a/src/xwidget.c +++ b/src/xwidget.c @@ -763,7 +763,7 @@ xwidget_motion_or_crossing (struct xwidget_view *view, const XEvent *event) &x, &y); if (!target) - target = model->widgetwindow_osr; + target = model->widget_osr; xg_event->any.window = gtk_widget_get_window (target); g_object_ref (xg_event->any.window); /* The window will be unrefed -- 2.39.5