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 4454

Summary: [PATCH] riscos: Don't reset mouse focus when recreating the window
Product: SDL Reporter: Cameron Cawley <ccawley2011>
Component: videoAssignee: Sam Lantinga <slouken>
Status: RESOLVED FIXED QA Contact: Sam Lantinga <slouken>
Severity: normal    
Priority: P2    
Version: HG 1.2   
Hardware: ARM   
OS: RISC OS   
Bug Depends on:    
Bug Blocks: 4635, 4654    
Attachments: riscos: Don't reset mouse focus when recreating the window

Description Cameron Cawley 2019-01-13 21:55:09 UTC
Created attachment 3569 [details]
riscos: Don't reset mouse focus when recreating the window

Previously, the mouse focus would be reset when recreating the window, however if the mouse was still in the resized window, RISC OS wouldn't send a window entered event as the mouse never left the window.

I'm not 100% sure this is the best approach, but it's still an improvement nonetheless.
Comment 1 Sam Lantinga 2019-06-08 20:14:18 UTC
Patch added!
https://hg.libsdl.org/SDL/rev/5b49f9ec7036