diff options
| author | Kenichi Handa | 2012-11-23 23:36:24 +0900 |
|---|---|---|
| committer | Kenichi Handa | 2012-11-23 23:36:24 +0900 |
| commit | 2aaec2d9be5cec44ea3b59cba476fd3e091f2fc9 (patch) | |
| tree | 3711b97807201b7eeaa066003b1c3a4ce929e5bb /src/frame.h | |
| parent | e1d276cbf9e18f13101328f56bed1a1c0a66e63a (diff) | |
| parent | e7d0e5ee247a155a268ffbf80bedbe25e15b5032 (diff) | |
| download | emacs-2aaec2d9be5cec44ea3b59cba476fd3e091f2fc9.tar.gz emacs-2aaec2d9be5cec44ea3b59cba476fd3e091f2fc9.zip | |
Diffstat (limited to 'src/frame.h')
| -rw-r--r-- | src/frame.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/frame.h b/src/frame.h index 35cbc44becc..87c4fcb0555 100644 --- a/src/frame.h +++ b/src/frame.h | |||
| @@ -933,6 +933,21 @@ typedef struct frame *FRAME_PTR; | |||
| 933 | && (frame_var = XCAR (list_var), 1)); \ | 933 | && (frame_var = XCAR (list_var), 1)); \ |
| 934 | list_var = XCDR (list_var)) | 934 | list_var = XCDR (list_var)) |
| 935 | 935 | ||
| 936 | /* Reflect mouse movement when a complete frame update is performed. */ | ||
| 937 | |||
| 938 | #define FRAME_MOUSE_UPDATE(frame) \ | ||
| 939 | do { \ | ||
| 940 | Mouse_HLInfo *hlinfo = MOUSE_HL_INFO (frame); \ | ||
| 941 | if (frame == hlinfo->mouse_face_mouse_frame) \ | ||
| 942 | { \ | ||
| 943 | block_input (); \ | ||
| 944 | if (hlinfo->mouse_face_mouse_frame) \ | ||
| 945 | note_mouse_highlight (hlinfo->mouse_face_mouse_frame, \ | ||
| 946 | hlinfo->mouse_face_mouse_x, \ | ||
| 947 | hlinfo->mouse_face_mouse_y); \ | ||
| 948 | unblock_input (); \ | ||
| 949 | } \ | ||
| 950 | } while (0) | ||
| 936 | 951 | ||
| 937 | extern Lisp_Object Qframep, Qframe_live_p; | 952 | extern Lisp_Object Qframep, Qframe_live_p; |
| 938 | extern Lisp_Object Qtty, Qtty_type; | 953 | extern Lisp_Object Qtty, Qtty_type; |