emacs-diffs
[Top][All Lists]
Advanced

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

master bc404cd8ea: * src/xterm.c (handle_one_xevent): Remove obsolete wo


From: Po Lu
Subject: master bc404cd8ea: * src/xterm.c (handle_one_xevent): Remove obsolete workaround.
Date: Thu, 27 Jan 2022 21:52:08 -0500 (EST)

branch: master
commit bc404cd8ea911917f56661d16a96c4da15a3ffbe
Author: Po Lu <luangruo@yahoo.com>
Commit: Po Lu <luangruo@yahoo.com>

    * src/xterm.c (handle_one_xevent): Remove obsolete workaround.
---
 src/xterm.c | 9 +--------
 1 file changed, 1 insertion(+), 8 deletions(-)

diff --git a/src/xterm.c b/src/xterm.c
index 30a3aee20e..3f277c5b87 100644
--- a/src/xterm.c
+++ b/src/xterm.c
@@ -10395,14 +10395,7 @@ handle_one_xevent (struct x_display_info *dpyinfo,
 #ifdef HAVE_XWIDGETS
              if (xwidget_view)
                {
-                 /* Don't send an enter event to the xwidget if the
-                    first button is pressed, to avoid it releasing
-                    the passive grab.  I don't know why that happens,
-                    but this workaround makes dragging to select text
-                    work again.  */
-                 if (!(enter->buttons.mask_len
-                       && XIMaskIsSet (enter->buttons.mask, 1)))
-                   xwidget_motion_or_crossing (xwidget_view, event);
+                 xwidget_motion_or_crossing (xwidget_view, event);
 
                  goto XI_OTHER;
                }



reply via email to

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