diff options
Diffstat (limited to 'src/termhooks.h')
| -rw-r--r-- | src/termhooks.h | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/src/termhooks.h b/src/termhooks.h index 08bde0aec0d..d7190e77362 100644 --- a/src/termhooks.h +++ b/src/termhooks.h | |||
| @@ -31,7 +31,8 @@ struct glyph; | |||
| 31 | 31 | ||
| 32 | INLINE_HEADER_BEGIN | 32 | INLINE_HEADER_BEGIN |
| 33 | 33 | ||
| 34 | enum scroll_bar_part { | 34 | enum scroll_bar_part |
| 35 | { | ||
| 35 | scroll_bar_nowhere, | 36 | scroll_bar_nowhere, |
| 36 | scroll_bar_above_handle, | 37 | scroll_bar_above_handle, |
| 37 | scroll_bar_handle, | 38 | scroll_bar_handle, |
| @@ -301,8 +302,9 @@ enum event_kind | |||
| 301 | #endif | 302 | #endif |
| 302 | 303 | ||
| 303 | #ifdef HAVE_XWIDGETS | 304 | #ifdef HAVE_XWIDGETS |
| 304 | /* events generated by xwidgets*/ | 305 | /* An event generated by an xwidget to tell us something. */ |
| 305 | , XWIDGET_EVENT | 306 | , XWIDGET_EVENT |
| 307 | |||
| 306 | /* Event generated when WebKit asks us to display another widget. */ | 308 | /* Event generated when WebKit asks us to display another widget. */ |
| 307 | , XWIDGET_DISPLAY_EVENT | 309 | , XWIDGET_DISPLAY_EVENT |
| 308 | #endif | 310 | #endif |
| @@ -349,6 +351,11 @@ enum event_kind | |||
| 349 | positive delta represents a change clockwise, and a negative | 351 | positive delta represents a change clockwise, and a negative |
| 350 | delta represents a change counter-clockwise. */ | 352 | delta represents a change counter-clockwise. */ |
| 351 | , PINCH_EVENT | 353 | , PINCH_EVENT |
| 354 | |||
| 355 | /* In a MONITORS_CHANGED_EVENT, .arg gives the terminal on which the | ||
| 356 | monitor configuration changed. .timestamp gives the time on | ||
| 357 | which the monitors changed. */ | ||
| 358 | , MONITORS_CHANGED_EVENT | ||
| 352 | }; | 359 | }; |
| 353 | 360 | ||
| 354 | /* Bit width of an enum event_kind tag at the start of structs and unions. */ | 361 | /* Bit width of an enum event_kind tag at the start of structs and unions. */ |