From 2ea32398c3e1b8c19d0b18ad0cde6c46d71658c5 Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Mon, 29 Jun 2020 21:51:53 +0200 Subject: term: use 'left_ptr' instead of 'hand2' as cursor when client is mouse grabbing --- terminal.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'terminal.c') diff --git a/terminal.c b/terminal.c index 504dec57..b7a49375 100644 --- a/terminal.c +++ b/terminal.c @@ -36,7 +36,7 @@ static const char *const XCURSOR_LEFT_PTR = "left_ptr"; static const char *const XCURSOR_TEXT = "text"; -static const char *const XCURSOR_HAND2 = "hand2"; +//static const char *const XCURSOR_HAND2 = "hand2"; bool term_to_slave(struct terminal *term, const void *_data, size_t len) @@ -2204,9 +2204,9 @@ void term_xcursor_update(struct terminal *term) { term->xcursor = - term->is_searching ? XCURSOR_LEFT_PTR : + term->is_searching ? XCURSOR_LEFT_PTR : /* TODO: something different? */ selection_enabled(term) ? XCURSOR_TEXT : - XCURSOR_HAND2; + XCURSOR_LEFT_PTR; render_xcursor_set(term); } -- cgit v1.3