From: Po Lu Date: Tue, 24 May 2022 05:50:07 +0000 (+0800) Subject: Fix use of wrong event structure handling XI_Enter events X-Git-Tag: emacs-29.0.90~1910^2~471 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=7527c941f7a8a71a729e8008aaf370d9c771c397;p=emacs.git Fix use of wrong event structure handling XI_Enter events * src/xterm.c (handle_one_xevent): Use `enter' instead of `xev' to set the mouse click timeout. --- diff --git a/src/xterm.c b/src/xterm.c index f86ec0fad39..9edec9dbeb6 100644 --- a/src/xterm.c +++ b/src/xterm.c @@ -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; }