Commit d7cc8ec8 authored by Erwan Tulou's avatar Erwan Tulou

skins(Win): add fullscreen controller as a child of fullscreen main window

parent c5bcda90
......@@ -125,6 +125,13 @@ Win32Window::~Win32Window()
void Win32Window::reparent( void* OSHandle, int x, int y, int w, int h )
// Reparent the window
if( m_type == GenericWindow::TopWindow )
// fullscreen controller
SetWindowLongPtr( m_hWnd, GWL_STYLE, WS_CHILD );
SetParent( m_hWnd, (HWND)OSHandle );
MoveWindow( m_hWnd, x, y, w, h, true );
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment