aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--terminal.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/terminal.c b/terminal.c
index ca03a0bd..53034dea 100644
--- a/terminal.c
+++ b/terminal.c
@@ -1436,8 +1436,7 @@ term_xcursor_update(struct terminal *term)
{
term->xcursor =
term->is_searching ? "left_ptr" :
- term->mouse_tracking == MOUSE_NONE ? "text" :
- term->wl->focused == term && term->wl->kbd.shift ? "text" :
+ selection_enabled(term) ? "text" :
"hand2";
wayl_cursor_set(term->wl, term);