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 4685

Summary: System cursor broken on Linux/X11
Product: SDL Reporter: Danni H <dannihfoss>
Component: eventsAssignee: Sam Lantinga <slouken>
Status: RESOLVED WORKSFORME QA Contact: Sam Lantinga <slouken>
Severity: normal    
Priority: P2    
Version: 2.0.9   
Hardware: x86_64   
OS: Linux   

Description Danni H 2019-06-22 16:38:33 UTC
I swear this worked the other day, but it seems after a recent package update in Arch Linux, SDL2 is no longer able to create a system cursor.

How to reproduce:

1. Install the Rust programming language
2. git clone https://gitlab.com/cosmicchipsocket/keeshond.git
3. cd keeshond
4. cargo run --example imgui --features="imgui_integration"

On my system, the following warning appears:

[ WARN  keeshond::imgui_handler ] Could not create system cursor: CreateSystemCursor is not currently supported

From this line:

https://gitlab.com/cosmicchipsocket/keeshond/blob/master/keeshond/src/imgui_handler.rs#L73

This was initially a fatal error that I had to change to a warning because of this issue. Rebooting system did not resolve the issue.
Comment 1 Danni H 2019-06-22 16:43:58 UTC
Please ignore, I was trying to get a system cursor before initializing the video subsystem.