diff options
| author | Craig Barnes <craigbarnes@protonmail.com> | 2024-01-24 23:17:28 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2024-02-05 11:09:52 +0000 |
| commit | e0f3703ae6c4084f9275cfc78d87e5604cc27a10 (patch) | |
| tree | cdfeebf67f6bb962c5543337b952fe6cf9d40587 /render.c | |
| parent | csi: simplify handling of Set/Reset Mode (SM/RM) sequences (diff) | |
util: add streq() function and use in place of strcmp(...) == 0
Diffstat (limited to 'render.c')
| -rw-r--r-- | render.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; } |
