mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-08 09:09:04 +00:00
Fixed an issue that caused the render to main window to lose focus if the gfx config dialog is opened while the emulator is running. Only affects linux. Also fixed a few preprocessor conditionals.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5186 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
70627c5652
commit
5fa18ae114
4 changed files with 15 additions and 7 deletions
|
@ -699,10 +699,10 @@ void OpenGL_Update()
|
|||
GLWin.panel->GetSize((int *)&GLWin.width, (int *)&GLWin.height);
|
||||
XResizeWindow(GLWin.dpy, GLWin.win, GLWin.width, GLWin.height);
|
||||
}
|
||||
#endif
|
||||
if (g_Config.RenderToMainframe &&
|
||||
(ulong) event.xclient.data.l[0] == XInternAtom(GLWin.dpy, "WINDOW_REFOCUS", False))
|
||||
XSetInputFocus(GLWin.dpy, GLWin.win, RevertToPointerRoot, CurrentTime);
|
||||
#endif
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue