Bug 433756

Summary: KWIN Wayland SDL_ShowCursor(0); does not hide the cursor
Product: [Plasma] kwin Reporter: Robin <robinoger1207>
Component: wayland-genericAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: NOR    
Version: 5.21.1   
Target Milestone: ---   
Platform: Manjaro   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: simple code example demonstrating the defect

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 ***