aboutsummaryrefslogtreecommitdiff
path: root/render.c
diff options
context:
space:
mode:
Diffstat (limited to 'render.c')
-rw-r--r--render.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/render.c b/render.c
index a522c24c..fcd21472 100644
--- a/render.c
+++ b/render.c
@@ -4559,8 +4559,8 @@ render_xcursor_set(struct seat *seat, struct terminal *term,
if (seat->pointer.shape == shape &&
!(shape == CURSOR_SHAPE_CUSTOM &&
- strcmp(seat->pointer.last_custom_xcursor,
- term->mouse_user_cursor) != 0))
+ !streq(seat->pointer.last_custom_xcursor,
+ term->mouse_user_cursor)))
{
return true;
}