From: Po Lu via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: 51703@debbugs.gnu.org
Subject: bug#51703: 29.0.50; [PATCH] Fix default target of motion events
Date: Tue, 09 Nov 2021 14:50:23 +0800 [thread overview]
Message-ID: <87czn9akls.fsf@yahoo.com> (raw)
In-Reply-To: 87czn9akls.fsf.ref@yahoo.com
[-- Attachment #1: Type: text/plain, Size: 9 bytes --]
Thanks.
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-Fix-default-target-of-motion-events.patch --]
[-- Type: text/x-patch, Size: 824 bytes --]
From 45f7b15398ee817453e842a8c0fa9ed32c64d6ce Mon Sep 17 00:00:00 2001
From: Po Lu <luangruo@yahoo.com>
Date: Tue, 9 Nov 2021 14:49:14 +0800
Subject: [PATCH] Fix default target of motion events
* src/xwidget.c (xwidget_motion_or_crossing): Default to widget_osr
instead of its window.
---
src/xwidget.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/xwidget.c b/src/xwidget.c
index 90178f441d..d3a8d5eb82 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.31.1
next parent reply other threads:[~2021-11-09 6:50 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <87czn9akls.fsf.ref@yahoo.com>
2021-11-09 6:50 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors [this message]
2021-11-09 7:24 ` bug#51703: 29.0.50; [PATCH] Fix default target of motion events Lars Ingebrigtsen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87czn9akls.fsf@yahoo.com \
--to=bug-gnu-emacs@gnu.org \
--cc=51703@debbugs.gnu.org \
--cc=luangruo@yahoo.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.