projects
/
xboard.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
542a66e
)
Fix sticky windows on Win8
author
H.G. Muller
<h.g.muller@hccnet.nl>
Thu, 16 Jan 2014 22:07:28 +0000 (23:07 +0100)
committer
H.G. Muller
<h.g.muller@hccnet.nl>
Sat, 18 Jan 2014 23:02:05 +0000 (
00:02
+0100)
winboard/winboard.c
patch
|
blob
|
history
diff --git
a/winboard/winboard.c
b/winboard/winboard.c
index
d83aaaa
..
7c4306e
100644
(file)
--- 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 ) {
\r
LPWINDOWPOS lpwp = (LPWINDOWPOS) lParam;
\r
\r
- if( ((lpwp->flags & SWP_NOMOVE) == 0) && ((lpwp->flags & SWP_NOSIZE) != 0) ) {
\r
+ if( ((lpwp->flags & SWP_NOMOVE) == 0) /*&& ((lpwp->flags & SWP_NOSIZE) != 0)*/ ) { // [HGM] in Win8 size always accompanies move?
\r
/* Window is moving */
\r
RECT rcMain;
\r
\r