mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-03-12 22:56:52 +01: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
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user