mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-09 01:28:57 +00:00
Fix pad configuration dialog on linux
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5676 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
6d5da6b9be
commit
9123ae3230
4 changed files with 10 additions and 5 deletions
|
@ -950,7 +950,11 @@ void CFrame::OnPluginPAD(wxCommandEvent& WXUNUSED (event))
|
|||
was_init = true;
|
||||
else
|
||||
{
|
||||
#if defined(HAVE_X11) && HAVE_X11
|
||||
GCPad_Init(X11Utils::XDisplayFromHandle(GetHandle()));
|
||||
#else
|
||||
GCPad_Init(GetHandle());
|
||||
#endif
|
||||
}
|
||||
InputConfigDialog* m_ConfigFrame = new InputConfigDialog(this, *pad_plugin, "GCPadNew", was_init );
|
||||
m_ConfigFrame->ShowModal();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue