term: xcursor_update_for_seat(): remove duplicate check for term->is_searching

This commit is contained in:
Daniel Eklöf 2021-11-30 22:14:05 +01:00
parent bfbb4b0830
commit 59e6285037
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

View file

@ -2971,7 +2971,6 @@ term_xcursor_update_for_seat(struct terminal *term, struct seat *seat)
: (seat->mouse.col >= 0 &&
seat->mouse.row >= 0 &&
term_mouse_grabbed(term, seat)) ? XCURSOR_TEXT
: term->is_searching ? XCURSOR_TEXT
: XCURSOR_LEFT_PTR;
break;
}