We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 2482

Summary: Wayland_CreateSystemCursor trying to load nonexistent "wait" cursor
Product: SDL Reporter: Bryan Cain <bryancain3>
Component: videoAssignee: Gabriel Jacobo <gabomdq>
Status: RESOLVED FIXED QA Contact: Sam Lantinga <slouken>
Severity: normal    
Priority: P2 CC: bryancain3, gabomdq
Version: HG 2.1   
Hardware: Other   
OS: Linux   

Description Bryan Cain 2014-04-07 19:48:14 UTC
Wayland_CreateSystemCursor tries to load a cursor named "wait" for two of the system cursor categories.  This causes a segmentation fault when one of these cursors is used, because "wait" is not an actual cursor name in X11/Wayland cursor themes.

I can't attach my patch since I'm on a mobile right now, but I can confirm that simply replacing "wait" with "watch" for both of its uses in Wayland_CreateSystemCursor (in SDL_waylandmouse.c) fixes the bug.
Comment 1 Sam Lantinga 2014-04-18 03:21:42 UTC
Fixed, thanks!
https://hg.libsdl.org/SDL/rev/403c95143f8a