]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix use of wrong event structure handling XI_Enter events
authorPo Lu <luangruo@yahoo.com>
Tue, 24 May 2022 05:50:07 +0000 (13:50 +0800)
committerPo Lu <luangruo@yahoo.com>
Tue, 24 May 2022 05:50:07 +0000 (13:50 +0800)
* src/xterm.c (handle_one_xevent): Use `enter' instead of `xev'
to set the mouse click timeout.

src/xterm.c

index f86ec0fad396b001d765de3b6af7dc4c35b68f5b..9edec9dbeb609ff795be2de922fcb7df281d8d6f 100644 (file)
@@ -17505,7 +17505,7 @@ handle_one_xevent (struct x_display_info *dpyinfo,
 
              if (f && x_mouse_click_focus_ignore_position)
                {
-                 ignore_next_mouse_click_timeout = xev->time + 200;
+                 ignore_next_mouse_click_timeout = enter->time + 200;
                  mouse_click_timeout_display = dpyinfo;
                }