Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
FrameTools: Use the correct window handle for resizing the window
We want to resize the OpenGL window, not the frame window.
  • Loading branch information
magcius committed Jul 23, 2013
1 parent 0ba6d12 commit 09338c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Core/DolphinWX/Src/FrameTools.cpp
Expand Up @@ -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
Expand Down

0 comments on commit 09338c6

Please sign in to comment.