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 3217

Summary: WinRT: after alt-tab'ing back into fullscreen app, mouse cursor is sometimes wrong
Product: SDL Reporter: David Ludwig <dll>
Component: videoAssignee: David Ludwig <dll>
Status: RESOLVED FIXED QA Contact: David Ludwig <dll>
Severity: normal    
Priority: P2 CC: dll
Version: HG 2.0   
Hardware: x86   
OS: Windows (All)   

Description David Ludwig 2015-12-31 06:29:59 UTC
The following bug was observed via an SDL2-based UWP (Windows 10's flavor of WinRT) app, one using the latest version of SDL2 on hg.libsdl.org/SDL, as of this writing.  (https://hg.libsdl.org/SDL/rev/c8fd9b498b67)

Steps to Reproduce:
1. launch an SDL2 UWP app into windowed-mode
2. make the app go fullscreen
3. observe that the mouse cursor is the standard, Windows, arrow cursor
4. alt-tab to a different Windows app
5. alt-tab back into the SDL2 UWP app

(Often) Observed Result:
The mouse cursor switches to Windows' 'wait' cursor, which as of this writing, is a spinning, blue circle.  This cursor does not switch away to the arrow, not until the app is brought out of fullscreen mode, or control is switched to another app.

Expected Result:
The mouse cursor is, upon resuming the app, Windows' arrow cursor.
Comment 1 David Ludwig 2015-12-31 06:43:18 UTC
Fixed via https://hg.libsdl.org/SDL/rev/5843ea14ca5c