mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-05 18:01:34 +00:00
Added option SW_FORCEMINIMIZE to ShowWindow.
This commit is contained in:
parent
235da7975b
commit
b7beb7278f
2 changed files with 3 additions and 1 deletions
|
@ -1178,6 +1178,7 @@ BOOL X11DRV_ShowWindow( HWND hwnd, INT cmd )
|
|||
swp |= SWP_NOACTIVATE | SWP_NOZORDER;
|
||||
/* fall through */
|
||||
case SW_SHOWMINIMIZED:
|
||||
case SW_FORCEMINIMIZE: /* FIXME: Does not work if thread is hung. */
|
||||
swp |= SWP_SHOWWINDOW;
|
||||
/* fall through */
|
||||
case SW_MINIMIZE:
|
||||
|
|
|
@ -2871,7 +2871,8 @@ typedef struct tagMINIMIZEDMETRICS {
|
|||
#define SW_SHOWNA 8
|
||||
#define SW_RESTORE 9
|
||||
#define SW_SHOWDEFAULT 10
|
||||
#define SW_MAX 10
|
||||
#define SW_FORCEMINIMIZE 11
|
||||
#define SW_MAX 11
|
||||
#define SW_NORMALNA 0xCC /* undoc. flag in MinMaximize */
|
||||
|
||||
/* WM_SIZE message wParam values */
|
||||
|
|
Loading…
Reference in a new issue