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…
Reference in New Issue