mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-11 00:29:11 +01:00
Oops, should have tested my copy and paste from wiimote to gcpad
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5126 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
a048ad52b4
commit
aa1081348d
@ -657,7 +657,7 @@ bool IsFocus()
|
||||
int Revert;
|
||||
XGetInputFocus(GCdisplay, &FocusWin, &Revert);
|
||||
XWindowAttributes WinAttribs;
|
||||
XGetWindowAttributes (WMdisplay, GLWin, &WinAttribs);
|
||||
XGetWindowAttributes (GCdisplay, GLWin, &WinAttribs);
|
||||
return (GLWin != 0 && (GLWin == FocusWin || WinAttribs.override_redirect));
|
||||
#else
|
||||
return true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user