Skip to content

Trouble regaining focus properly with SDL3 on windows #2854

Description

@yaRnMcDonuts

The change to use SDL3 in 3.10 has also made windows devices struggle with regaining focus after hitting the windows key or alt-tab.

Whenever I hit the windows key or alt-tab, the mouse cursor now becomes invisible when hovering over the window for the jME app, and clicking back on the window does not properly cause the app to regain focus as it normally should (the app still registers the click as input for my game, but moving the mouse left/right will not rotate the camera as it normally would when the app is focused). The only way to fully regain focus is to hit the windows key again or to hit alt-tab and select the jMonkey app, however the proper behavior would be for the app to regain full focus when the window is clicked.

Metadata

Metadata

Labels

Needs investigationbugSomething that is supposed to work, but doesn't. More severe than a "defect".

Type

No type
No fields configured for issues without a type.

Projects

Status
tracked

Relationships

None yet

Development

No branches or pull requests

Issue actions