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 #683

Merged
merged 1 commit into from Aug 4, 2014

Conversation

CrossVR
Copy link
Contributor

@CrossVR CrossVR commented Jul 27, 2014

Needed for hotkeys to function correctly on Linux and OS X.

The reason this is necessary is because a wxFrame will only receive keyboard focus if it has at least one child.

@neobrain
Copy link
Member

Regarding the segfaults in GDB: Do you have fastmem disabled in the Dolphin ini?

@CrossVR
Copy link
Contributor Author

CrossVR commented Jul 27, 2014

ah ofcourse, I keep forgetting about that.

@CrossVR
Copy link
Contributor Author

CrossVR commented Jul 27, 2014

After debugging I still have no idea what causes this difference in behaviour between Linux and Win32. I say we just fix this quickly now and find out how to merge the two code paths later.

@lioncash
Copy link
Member

I would add on to the comment with a FIXME or say something along the lines of ideally not needing the panel. At least this way if anyone else sees it, they could chime in and give a solution (if they have one)

@CrossVR
Copy link
Contributor Author

CrossVR commented Jul 28, 2014

Done, ready for review.

@lioncash
Copy link
Member

Looks good to me

@CrossVR
Copy link
Contributor Author

CrossVR commented Aug 1, 2014

Attempting to rewrite this branch, only merge it if we're in need of a quick fix.

Needed for hotkeys to be captured on Linux.
@CrossVR
Copy link
Contributor Author

CrossVR commented Aug 2, 2014

Okay, the problem has been fixed properly now, ready for review.

@CrossVR CrossVR changed the title FrameTools: Add a wxPanel as parent of the RenderFrame on Linux. FrameTools: Add a wxPanel as the child of the RenderFrame. Aug 2, 2014
@CrossVR
Copy link
Contributor Author

CrossVR commented Aug 2, 2014

This PR also fixes issue 7536.

@CrossVR CrossVR changed the title FrameTools: Add a wxPanel as the child of the RenderFrame. Fix hotkeys in Linux and Mac OS X Aug 3, 2014
lioncash added a commit that referenced this pull request Aug 4, 2014
Fix hotkeys in Linux and Mac OS X
@lioncash lioncash merged commit d8d99f9 into dolphin-emu:master Aug 4, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants