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 - [PATCH] riscos: Don't reset mouse focus when recreating the window
Summary: [PATCH] riscos: Don't reset mouse focus when recreating the window
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: video (show other bugs)
Version: HG 1.2
Hardware: ARM RISC OS
: P2 normal
Assignee: Sam Lantinga
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks: 4635 4654
  Show dependency treegraph
 
Reported: 2019-01-13 21:55 UTC by Cameron Cawley
Modified: 2019-06-08 20:14 UTC (History)
0 users

See Also:


Attachments
riscos: Don't reset mouse focus when recreating the window (1.02 KB, patch)
2019-01-13 21:55 UTC, Cameron Cawley
Details | Diff

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