Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix hotkeys in Linux and Mac OS X (properly this time). #735

Merged
merged 1 commit into from Aug 14, 2014

Conversation

CrossVR
Copy link
Contributor

@CrossVR CrossVR commented Aug 4, 2014

This is needed to fix the hotkeys on those platforms.

Proper fix this time, in the end I was unable to merge the two code paths since the behaviour is very different between these platforms.

Note that the panel is now actually used for rendering instead of obscuring the renderer. So there is no way for the same problem to happen on Linux and Mac OS X.

This is needed to fix the hotkeys on those platforms.
@CrossVR CrossVR changed the title CFrame: Render to a child on Linux and Mac OS X. Fix hotkeys in Linux and Mac OS X (. Aug 4, 2014
@CrossVR CrossVR changed the title Fix hotkeys in Linux and Mac OS X (. Fix hotkeys in Linux and Mac OS X (properly this time). Aug 4, 2014
@shuffle2
Copy link
Contributor

lgtm...some *nix user should check and merge.

@magcius
Copy link
Member

magcius commented Aug 12, 2014

Why is it needed?

@CrossVR
Copy link
Contributor Author

CrossVR commented Aug 12, 2014

Because for some reason wxWidgets won't allow a wxFrame without children to receive keyboard focus, but only on Linux and OS X.

@archshift
Copy link
Contributor

Shouldn't this be done at initialization of m_RenderFrame?

@CrossVR
Copy link
Contributor Author

CrossVR commented Aug 12, 2014

This is the initialization of m_RenderFrame.

@Matoking
Copy link

I can confirm that this fixes the issue with hotkeys not working during gameplay on Linux.

@delroth
Copy link
Member

delroth commented Aug 14, 2014

Really not a big fan of this fix, but meh... I'll just blame WX for being terrible.

delroth added a commit that referenced this pull request Aug 14, 2014
Fix hotkeys in Linux and Mac OS X (properly this time).
@delroth delroth merged commit 7b6b9b0 into dolphin-emu:master Aug 14, 2014
mwoehlke referenced this pull request Aug 17, 2014
Also remove x, y, width and height from the GLInterface, since it's only
used in GLX, which no longer uses them
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
6 participants