From 7ad4f86f2aac75935a52d31383593c1327204729 Mon Sep 17 00:00:00 2001 From: Berke Güzel Date: Wed, 14 Oct 2026 14:21:13 +0300 Subject: Count touch as a press, report a missing bell, and test X11 INCR - Wayland: a touch contact is a press for move, resize, menu and drag again, and a compositor without xdg-system-bell reports ENOTSUP. - yasl_surface_set_cursor no longer reports a stale errno. - The X11 input test expects the TIMESTAMP and MULTIPLE targets and drives an INCR transfer instead of expecting INCR to be rejected. Co-Authored-By: Claude Opus 5.5 --- src/common/surface.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/common') diff --git a/src/common/surface.c b/src/common/surface.c index b9231ea..fa8ee3d 100644 --- a/src/common/surface.c +++ b/src/common/surface.c @@ -392,6 +392,7 @@ int yasl_surface_set_cursor(yasl_surface *s, enum yasl_cursor cursor) if ((unsigned)cursor > YASL_CURSOR_LOCKED) return yasl_public_error(EINVAL); bool locked = cursor == YASL_CURSOR_LOCKED; + errno = 0; if (!yasl_private_surface_set_pointer_mode(s, locked ? YASL_PRIVATE_POINTER_RELATIVE : YASL_PRIVATE_POINTER_NORMAL)) return yasl_public_error(errno); -- cgit v1.2.3