From 33d5f42a5e418e959ce865dd44188e2e37e9ebfc Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Tue, 7 May 1996 00:03:53 +0000 Subject: [PATCH] (enum scroll_bar_part): New alternatives scroll_bar_up_arrow, scroll_bar_down_arrow. (win32_scroll_bar_click): New enum constant. --- src/termhooks.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/termhooks.h b/src/termhooks.h index bd1fdc369e5..4e33fbe9d44 100644 --- a/src/termhooks.h +++ b/src/termhooks.h @@ -59,7 +59,9 @@ extern int (*set_terminal_window_hook) (); enum scroll_bar_part { scroll_bar_above_handle, scroll_bar_handle, - scroll_bar_below_handle + scroll_bar_below_handle, + scroll_bar_up_arrow, + scroll_bar_down_arrow, }; /* Return the current position of the mouse. @@ -245,6 +247,10 @@ enum event_kind whose scroll bar was clicked in. .timestamp gives a timestamp (in milliseconds) for the click. */ +#ifdef WINDOWSNT + win32_scroll_bar_click, /* as for scroll_bar_click, but only generated + by MS-Windows scroll bar controls. */ +#endif selection_request_event, /* Another X client wants a selection from us. See `struct selection_event'. */ selection_clear_event, /* Another X client cleared our selection. */ -- 2.39.2