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=fc28373d4807e9ef51b28fdef2553342d342d0bf;hp=542a66e557c246ca40ea112f34ccba6a33c147cc;p=xboard.git Fix sticky windows on Win8 --- diff --git a/winboard/winboard.c b/winboard/winboard.c index d83aaaa..7c4306e 100644 --- a/winboard/winboard.c +++ b/winboard/winboard.c @@ -5630,7 +5630,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;