diff options
| author | Jasper St. Pierre <jstpierre@mecheye.net> | 2013-07-23 14:58:16 -0400 |
|---|---|---|
| committer | Jasper St. Pierre <jstpierre@mecheye.net> | 2013-07-23 15:02:00 -0400 |
| commit | 09338c673cc0486ad0207a2c7e63aef41a6989fc (patch) | |
| tree | 4cf93f9fade14ee028e4a56d8623698c8c5ec1ae /Source/Core | |
| parent | 0ba6d12e9df5eb9ddfac62b1a00f995c3a3b7762 (diff) | |
FrameTools: Use the correct window handle for resizing the window
We want to resize the OpenGL window, not the frame window.
Diffstat (limited to 'Source/Core')
| -rw-r--r-- | Source/Core/DolphinWX/Src/FrameTools.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
