diff options
| author | Dmitry Antipov | 2013-09-18 10:48:11 +0400 |
|---|---|---|
| committer | Dmitry Antipov | 2013-09-18 10:48:11 +0400 |
| commit | 7a0c745ad134aff0bb8f4258ea607137a819b58d (patch) | |
| tree | ae24a427e9425302a7953eea18b311214c9664b4 /src/xterm.h | |
| parent | 12679bfd15020087eca82df8dcb5df2c48bcef02 (diff) | |
| download | emacs-7a0c745ad134aff0bb8f4258ea607137a819b58d.tar.gz emacs-7a0c745ad134aff0bb8f4258ea607137a819b58d.zip | |
* frame.c (x_mouse_grabbed): New function.
* dispextern.h (x_mouse_grabbed): Add prototype.
(last_mouse_frame): Remove declaration.
* xterm.h (struct x_display_info):
* w32term.h (struct w32_display_info):
* nsterm.h (struct ns_display_info): New member
last_mouse_frame, going to replace...
* xdisp.c (last_mouse_frame): ...global variable.
(note_tool_bar_highlight):
* w32term.c (w32_mouse_position, w32_read_socket):
* xterm.c (XTmouse_position, handle_one_xevent):
Use x_mouse_grabbed.
* nsterm.m (ns_mouse_position, mouseDown): Adjust user.
Diffstat (limited to 'src/xterm.h')
| -rw-r--r-- | src/xterm.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/xterm.h b/src/xterm.h index e1556de36b9..f1bfc883a64 100644 --- a/src/xterm.h +++ b/src/xterm.h | |||
| @@ -305,6 +305,9 @@ struct x_display_info | |||
| 305 | /* The frame waiting to be auto-raised in XTread_socket. */ | 305 | /* The frame waiting to be auto-raised in XTread_socket. */ |
| 306 | struct frame *x_pending_autoraise_frame; | 306 | struct frame *x_pending_autoraise_frame; |
| 307 | 307 | ||
| 308 | /* The frame where the mouse was last time we reported a mouse event. */ | ||
| 309 | struct frame *last_mouse_frame; | ||
| 310 | |||
| 308 | /* Time of last user interaction as returned in X events on this display. */ | 311 | /* Time of last user interaction as returned in X events on this display. */ |
| 309 | Time last_user_time; | 312 | Time last_user_time; |
| 310 | 313 | ||