# HG changeset patch # User zipi # Date 1383485617 0 # Node ID 25e3772e3650c8c808fa28f10eaad181d382ac90 # Parent 4088cc908c781a33634b8653ccb3b7cede083ea4 window style fix diff -r 4088cc908c78 -r 25e3772e3650 OSWindow.cpp --- a/OSWindow.cpp Sun Nov 03 11:46:52 2013 +0000 +++ b/OSWindow.cpp Sun Nov 03 13:33:37 2013 +0000 @@ -510,7 +510,8 @@ { SetWindowLongW(api_handle, GWL_EXSTYLE, 0); SetWindowLongW(api_handle, GWL_STYLE, WS_VISIBLE | WS_OVERLAPPEDWINDOW); - + SetWindowPos(api_handle, HWND_TOP, 0, 0, -1, -1, 0); + RECT rcWindow; GetWindowRect(api_handle, &rcWindow);