aboutsummaryrefslogtreecommitdiff
path: root/terminal.c
diff options
context:
space:
mode:
Diffstat (limited to 'terminal.c')
-rw-r--r--terminal.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/terminal.c b/terminal.c
index e1da77f5..35cfe8aa 100644
--- a/terminal.c
+++ b/terminal.c
@@ -3451,10 +3451,7 @@ term_xcursor_update_for_seat(struct terminal *term, struct seat *seat)
shape = CURSOR_SHAPE_CUSTOM;
}
- else if (seat->mouse.col >= 0 &&
- seat->mouse.row >= 0 &&
- term_mouse_grabbed(term, seat))
- {
+ else if (term_mouse_grabbed(term, seat)) {
shape = CURSOR_SHAPE_TEXT;
}