diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/keyboard.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/keyboard.h b/src/keyboard.h index 1a189ef568d..c7048fd6c0c 100644 --- a/src/keyboard.h +++ b/src/keyboard.h | |||
| @@ -56,16 +56,11 @@ extern int this_command_key_count; | |||
| 56 | /* Extract the fields of a position. */ | 56 | /* Extract the fields of a position. */ |
| 57 | #define POSN_WINDOW(posn) (XCONS (posn)->car) | 57 | #define POSN_WINDOW(posn) (XCONS (posn)->car) |
| 58 | #define POSN_BUFFER_POSN(posn) (XCONS (XCONS (posn)->cdr)->car) | 58 | #define POSN_BUFFER_POSN(posn) (XCONS (XCONS (posn)->cdr)->car) |
| 59 | #define POSN_SCROLLBAR_BUTTON POSN_BUFFER_POSN | ||
| 60 | #define POSN_WINDOW_POSN(posn) (XCONS (XCONS (XCONS (posn)->cdr)->cdr)->car) | 59 | #define POSN_WINDOW_POSN(posn) (XCONS (XCONS (XCONS (posn)->cdr)->cdr)->car) |
| 61 | #define POSN_TIMESTAMP(posn) \ | 60 | #define POSN_TIMESTAMP(posn) \ |
| 62 | (XCONS (XCONS (XCONS (XCONS (posn)->cdr)->cdr)->cdr)->car) | 61 | (XCONS (XCONS (XCONS (XCONS (posn)->cdr)->cdr)->cdr)->car) |
| 63 | 62 | ||
| 64 | /* Some of the event heads. */ | 63 | /* Some of the event heads. */ |
| 65 | extern Lisp_Object Qvscrollbar_part, Qvslider_part; | ||
| 66 | extern Lisp_Object Qvthumbup_part, Qvthumbdown_part; | ||
| 67 | extern Lisp_Object Qhscrollbar_part, Qhslider_part; | ||
| 68 | extern Lisp_Object Qhthumbleft_part, Qhthumbright_part; | ||
| 69 | extern Lisp_Object Qswitch_frame; | 64 | extern Lisp_Object Qswitch_frame; |
| 70 | 65 | ||
| 71 | /* Properties on event heads. */ | 66 | /* Properties on event heads. */ |
| @@ -77,7 +72,7 @@ extern Lisp_Object Qevent_kind, Qevent_symbol_elements; | |||
| 77 | 72 | ||
| 78 | /* The values of Qevent_kind properties. */ | 73 | /* The values of Qevent_kind properties. */ |
| 79 | extern Lisp_Object Qfunction_key, Qmouse_click, Qmouse_movement; | 74 | extern Lisp_Object Qfunction_key, Qmouse_click, Qmouse_movement; |
| 80 | extern Lisp_Object Qscrollbar_click; | 75 | extern Lisp_Object Qscrollbar_movement; |
| 81 | 76 | ||
| 82 | /* Getting the kind of an event head. */ | 77 | /* Getting the kind of an event head. */ |
| 83 | #define EVENT_HEAD_KIND(event_head) \ | 78 | #define EVENT_HEAD_KIND(event_head) \ |