diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2019-11-28 18:35:47 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2019-11-28 18:35:47 +0000 |
| commit | 0dd37f0a364fc36284dad17e8fb1345714261a4a (patch) | |
| tree | 36367aa234c01ba2a0010e9917d1c9e344a1972b /csi.c | |
| parent | input: pointer_button: apply same workaround as in pointer_motion (diff) | |
terminal: use the 'text' xcursor pointer whenever selection is possible
Diffstat (limited to 'csi.c')
| -rw-r--r-- | csi.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -875,14 +875,17 @@ csi_dispatch(struct terminal *term, uint8_t final) case 1000: term->mouse_tracking = MOUSE_CLICK; + term_xcursor_update(term); break; case 1002: term->mouse_tracking = MOUSE_DRAG; + term_xcursor_update(term); break; case 1003: term->mouse_tracking = MOUSE_MOTION; + term_xcursor_update(term); break; case 1004: @@ -1000,6 +1003,7 @@ csi_dispatch(struct terminal *term, uint8_t final) case 1002: /* MOUSE_BUTTON_EVENT */ case 1003: /* MOUSE_ANY_EVENT */ term->mouse_tracking = MOUSE_NONE; + term_xcursor_update(term); break; case 1005: /* MOUSE_UTF8 */ |
