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 - System cursor broken on Linux/X11
Summary: System cursor broken on Linux/X11
Status: RESOLVED WORKSFORME
Alias: None
Product: SDL
Classification: Unclassified
Component: events (show other bugs)
Version: 2.0.9
Hardware: x86_64 Linux
: P2 normal
Assignee: Sam Lantinga
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-06-22 16:38 UTC by Danni H
Modified: 2019-06-22 16:43 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.