From: H.G. Muller Date: Thu, 16 Jan 2014 22:07:28 +0000 (+0100) Subject: Fix sticky windows on Win8 X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=d99fcee670f13546341990351298e627cc7f385f;p=xboard.git Fix sticky windows on Win8 --- diff --git a/winboard/winboard.c b/winboard/winboard.c index 6a51191..a07356a 100644 --- a/winboard/winboard.c +++ b/winboard/winboard.c @@ -5620,7 +5620,7 @@ WndProc(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam) if( hwnd == hwndMain && appData.useStickyWindows ) { LPWINDOWPOS lpwp = (LPWINDOWPOS) lParam; - if( ((lpwp->flags & SWP_NOMOVE) == 0) && ((lpwp->flags & SWP_NOSIZE) != 0) ) { + if( ((lpwp->flags & SWP_NOMOVE) == 0) /*&& ((lpwp->flags & SWP_NOSIZE) != 0)*/ ) { // [HGM] in Win8 size always accompanies move? /* Window is moving */ RECT rcMain;