From ed0740b512617d29d7ee618cce5ba086ba9d0849 Mon Sep 17 00:00:00 2001 From: Glenn Rice Date: Sat, 13 Mar 2010 20:39:33 +0000 Subject: [PATCH] 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 --- Source/Plugins/Plugin_VideoOGL/Src/GLUtil.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Source/Plugins/Plugin_VideoOGL/Src/GLUtil.cpp b/Source/Plugins/Plugin_VideoOGL/Src/GLUtil.cpp index 1ab4635bd8..7a6a95b737 100644 --- a/Source/Plugins/Plugin_VideoOGL/Src/GLUtil.cpp +++ b/Source/Plugins/Plugin_VideoOGL/Src/GLUtil.cpp @@ -697,7 +697,8 @@ void OpenGL_Update() (ulong) event.xclient.data.l[0] == XInternAtom(GLWin.dpy, "MAIN_RESIZED", False)) { 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 && (ulong) event.xclient.data.l[0] == XInternAtom(GLWin.dpy, "WINDOW_REFOCUS", False))