emacs-diffs
[Top][All Lists]
Advanced

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

master 606d8ff: Fix default target of motion events


From: Lars Ingebrigtsen
Subject: master 606d8ff: Fix default target of motion events
Date: Tue, 9 Nov 2021 02:24:55 -0500 (EST)

branch: master
commit 606d8ffe4568974157a61d61b3f3cf01c231ce6b
Author: Po Lu <luangruo@yahoo.com>
Commit: Lars Ingebrigtsen <larsi@gnus.org>

    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 90178f4..d3a8d5e 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



reply via email to

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