diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2020-07-31 15:09:06 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2020-07-31 15:09:06 +0000 |
| commit | d4ee9be4d767ff4927c9e322bdbf958841dc091d (patch) | |
| tree | ab8adafe11e3bae878f38e9559b1abbf937f48a1 /terminal.h | |
| parent | config: configuration errors are no longer fatal (diff) | |
config: add 'hide-when-typing'
When enabled, the mouse cursor is hidden when the user types in the
terminal. It is un-hidden when the user moves the mouse, or when the
window loses keyboard focus.
Diffstat (limited to 'terminal.h')
| -rw-r--r-- | terminal.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -439,6 +439,7 @@ struct terminal { char *cwd; }; +extern const char *const XCURSOR_HIDDEN; extern const char *const XCURSOR_LEFT_PTR; extern const char *const XCURSOR_TEXT; //extern const char *const XCURSOR_HAND2; @@ -531,6 +532,7 @@ void term_mouse_motion( bool shift, bool alt, bool ctrl); bool term_mouse_grabbed(const struct terminal *term, struct seat *seat); void term_xcursor_update(struct terminal *term); +void term_xcursor_update_for_seat(struct terminal *term, struct seat *seat); void term_set_window_title(struct terminal *term, const char *title); void term_flash(struct terminal *term, unsigned duration_ms); |
