Author: jimtabor
Date: Fri Nov 16 15:57:01 2007
New Revision: 30500
URL:
http://svn.reactos.org/svn/reactos?rev=30500&view=rev
Log:
This helps FF 1.5.03 Restore from Maximize. Anyone open to a full rewrite of winpos and
support?
Modified:
trunk/reactos/subsystems/win32/win32k/ntuser/winpos.c
Modified: trunk/reactos/subsystems/win32/win32k/ntuser/winpos.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/nt…
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/ntuser/winpos.c (original)
+++ trunk/reactos/subsystems/win32/win32k/ntuser/winpos.c Fri Nov 16 15:57:01 2007
@@ -1415,6 +1415,7 @@
Swp |= SWP_NOACTIVATE | SWP_NOZORDER;
/* Fall through. */
case SW_SHOW:
+ if (WasVisible) return(TRUE); // Nothing to do!
Swp |= SWP_SHOWWINDOW | SWP_NOSIZE | SWP_NOMOVE;
/* Don't activate the topmost window. */
break;