diff options
author | Dmitry Antipov <dmantipov@yandex.ru> | 2013-09-02 12:45:32 +0400 |
---|---|---|
committer | Dmitry Antipov <dmantipov@yandex.ru> | 2013-09-02 12:45:32 +0400 |
commit | 84e70bbae4e86a7832ead64c3f2f7240967ca4b7 (patch) | |
tree | cfc1b6388ddd34ac3c8ca5d4f03859ac5aea03df /lisp/emacs-lisp/lisp-mnt.el | |
parent | f167c27b1973c9f2f7a8755c07f23ea671ba1bf1 (diff) | |
download | emacs-84e70bbae4e86a7832ead64c3f2f7240967ca4b7.tar.gz emacs-84e70bbae4e86a7832ead64c3f2f7240967ca4b7.tar.bz2 emacs-84e70bbae4e86a7832ead64c3f2f7240967ca4b7.zip |
Use XGetMotionEvents to ask the last mouse motion time from X server.
* xterm.c (X_MOTION_HISTORY): Default to 1.
(x_last_mouse_movement_time) [X_MOTION_HISTORY]: New function.
(x_last_mouse_movement_time) [!X_MOTION_HISTORY]: Legacy version.
(note_mouse_movement, x_scroll_bar_note_movement) [!X_MOTION_HISTORY]:
Ifdef away legacy code.
(XTmouse_position, x_scroll_bar_report_motion):
Use x_last_mouse_movement_time.
Diffstat (limited to 'lisp/emacs-lisp/lisp-mnt.el')
0 files changed, 0 insertions, 0 deletions