diff options
| author | Jonas Ådahl <jadahl@gmail.com> | 2021-11-19 14:02:48 +0000 |
|---|---|---|
| committer | Jonas Ådahl <jadahl@gmail.com> | 2021-11-29 15:26:40 +0000 |
| commit | 5c2557b42116dd6d0f86c90b2cf04cd43f80a36e (patch) | |
| tree | d4d1d51f24fe9f16ef6c179ddd2cff6e19a76f60 /input.h | |
| parent | Merge branch 'letter-spacing-regression' (diff) | |
terminal: Make seat xcursor update focus aware
When term_xcursor_update_for_seat() was called on e.g. keyboard focus
loss, it'd update the curret xcursor to 'text' even if it was e.g. on
top of the window title, or resize areas. This makes the function a bit
more focus aware, and will not be so eager to set the text xcursor.
Diffstat (limited to 'input.h')
| -rw-r--r-- | input.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -26,3 +26,5 @@ extern const struct wl_keyboard_listener keyboard_listener; extern const struct wl_pointer_listener pointer_listener; void input_repeat(struct seat *seat, uint32_t key); + +const char * xcursor_for_csd_border(struct terminal *term, int x, int y); |
