mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-26 15:55:31 +01:00
Still didn't have the render to main resize thing. Need to move the window if the panel is to the left.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5194 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
2bbef42c37
commit
ed0740b512
@ -697,7 +697,8 @@ void OpenGL_Update()
|
|||||||
(ulong) event.xclient.data.l[0] == XInternAtom(GLWin.dpy, "MAIN_RESIZED", False))
|
(ulong) event.xclient.data.l[0] == XInternAtom(GLWin.dpy, "MAIN_RESIZED", False))
|
||||||
{
|
{
|
||||||
GLWin.panel->GetSize((int *)&GLWin.width, (int *)&GLWin.height);
|
GLWin.panel->GetSize((int *)&GLWin.width, (int *)&GLWin.height);
|
||||||
XResizeWindow(GLWin.dpy, GLWin.win, GLWin.width, GLWin.height);
|
GLWin.panel->GetPosition(&GLWin.x, &GLWin.y);
|
||||||
|
XMoveResizeWindow(GLWin.dpy, GLWin.win, GLWin.x, GLWin.y, GLWin.width, GLWin.height);
|
||||||
}
|
}
|
||||||
if (g_Config.RenderToMainframe && !GLWin.fs &&
|
if (g_Config.RenderToMainframe && !GLWin.fs &&
|
||||||
(ulong) event.xclient.data.l[0] == XInternAtom(GLWin.dpy, "WINDOW_REFOCUS", False))
|
(ulong) event.xclient.data.l[0] == XInternAtom(GLWin.dpy, "WINDOW_REFOCUS", False))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user