Bug 433756 - KWIN Wayland SDL_ShowCursor(0); does not hide the cursor
Summary: KWIN Wayland SDL_ShowCursor(0); does not hide the cursor
Status: RESOLVED DUPLICATE of bug 433540
Alias: None
Product: kwin
Classification: Plasma
Component: wayland-generic (show other bugs)
Version: 5.21.1
Platform: Manjaro Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-02-28 19:55 UTC by Robin
Modified: 2021-03-01 07:05 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
simple code example demonstrating the defect (877 bytes, text/x-c++src)
2021-02-28 19:55 UTC, Robin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Robin 2021-02-28 19:55:48 UTC
Created attachment 136263 [details]
simple code example demonstrating the defect

SUMMARY
Programs using SDL2’s SDL_ShowCursor(0); function are not able to hide the cursor, this not happening on other compositors so I assumed KWIN was responsible.

STEPS TO REPRODUCE
1. Write an SDL2 program using the function
2. Compile and Run

I have attached a simple example that will make use of that function and draw a white square instead of the cursor

OBSERVED RESULT
Cursor is not hidden.


EXPECTED RESULT
Cursor is hidden.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: manjaro kde wayland
(available in About System)
KDE Plasma Version: 5.21.1
KDE Frameworks Version: 5.79.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
First time reporting a bug sorry if I missed anything
Comment 1 Vlad Zahorodnii 2021-03-01 07:05:53 UTC
*** This bug has been marked as a duplicate of bug 433540 ***