aboutsummaryrefslogtreecommitdiff
path: root/terminal.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2019-11-28 18:35:47 +0000
committerDaniel Eklöf <daniel@ekloef.se>2019-11-28 18:35:47 +0000
commit0dd37f0a364fc36284dad17e8fb1345714261a4a (patch)
tree36367aa234c01ba2a0010e9917d1c9e344a1972b /terminal.h
parentinput: pointer_button: apply same workaround as in pointer_motion (diff)
terminal: use the 'text' xcursor pointer whenever selection is possible
Diffstat (limited to 'terminal.h')
-rw-r--r--terminal.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/terminal.h b/terminal.h
index bc43edeb..8e1ae4b7 100644
--- a/terminal.h
+++ b/terminal.h
@@ -240,6 +240,7 @@ struct terminal {
uint32_t text;
uint32_t cursor;
} cursor_color;
+ const char *xcursor;
struct {
struct coord start;
@@ -365,6 +366,7 @@ void term_mouse_up(struct terminal *term, int button, int row, int col,
bool shift, bool alt, bool ctrl);
void term_mouse_motion(struct terminal *term, int button, int row, int col,
bool shift, bool alt, bool ctrl);
+void term_xcursor_update(struct terminal *term);
void term_set_window_title(struct terminal *term, const char *title);
void term_flash(struct terminal *term, unsigned duration_ms);