]> git.eshelyaron.com Git - emacs.git/commitdiff
* src/xterm.c (handle_one_xevent): Remove obsolete workaround.
authorPo Lu <luangruo@yahoo.com>
Fri, 28 Jan 2022 02:51:33 +0000 (10:51 +0800)
committerPo Lu <luangruo@yahoo.com>
Fri, 28 Jan 2022 02:51:33 +0000 (10:51 +0800)
src/xterm.c

index 30a3aee20ee657ad2c00f8ad0cee4f594f4901ed..3f277c5b873cafa9ae2b4d17d49590d21415ee66 100644 (file)
@@ -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;
                }