mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-05-08 11:37:53 +03:00
FrameTools: Use the correct window handle for resizing the window
We want to resize the OpenGL window, not the frame window.
This commit is contained in:
parent
0ba6d12e9d
commit
09338c673c
1 changed files with 1 additions and 1 deletions
|
@ -796,7 +796,7 @@ void CFrame::OnRenderParentResize(wxSizeEvent& event)
|
||||||
#if defined(HAVE_X11) && HAVE_X11
|
#if defined(HAVE_X11) && HAVE_X11
|
||||||
wxRect client_rect = m_RenderParent->GetClientRect();
|
wxRect client_rect = m_RenderParent->GetClientRect();
|
||||||
XMoveResizeWindow(X11Utils::XDisplayFromHandle(GetHandle()),
|
XMoveResizeWindow(X11Utils::XDisplayFromHandle(GetHandle()),
|
||||||
X11Utils::XWindowFromHandle(GetHandle()),
|
(Window) Core::GetWindowHandle(),
|
||||||
client_rect.x, client_rect.y,
|
client_rect.x, client_rect.y,
|
||||||
client_rect.width, client_rect.height);
|
client_rect.width, client_rect.height);
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue