From 09338c673cc0486ad0207a2c7e63aef41a6989fc Mon Sep 17 00:00:00 2001 From: "Jasper St. Pierre" Date: Tue, 23 Jul 2013 14:58:16 -0400 Subject: [PATCH] FrameTools: Use the correct window handle for resizing the window We want to resize the OpenGL window, not the frame window. --- Source/Core/DolphinWX/Src/FrameTools.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/DolphinWX/Src/FrameTools.cpp b/Source/Core/DolphinWX/Src/FrameTools.cpp index e04bdde5fc..27a1aaa097 100644 --- a/Source/Core/DolphinWX/Src/FrameTools.cpp +++ b/Source/Core/DolphinWX/Src/FrameTools.cpp @@ -796,7 +796,7 @@ void CFrame::OnRenderParentResize(wxSizeEvent& event) #if defined(HAVE_X11) && HAVE_X11 wxRect client_rect = m_RenderParent->GetClientRect(); XMoveResizeWindow(X11Utils::XDisplayFromHandle(GetHandle()), - X11Utils::XWindowFromHandle(GetHandle()), + (Window) Core::GetWindowHandle(), client_rect.x, client_rect.y, client_rect.width, client_rect.height); #endif