Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
fb99124f
Commit
fb99124f
authored
Jun 17, 2005
by
Vitaliy Margolen
Committed by
Alexandre Julliard
Jun 17, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Deactivate active window in ShowWindow(,SW_HIDE).
parent
6394a153
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
msg.c
dlls/user/tests/msg.c
+1
-0
winpos.c
dlls/x11drv/winpos.c
+3
-1
No files found.
dlls/user/tests/msg.c
View file @
fb99124f
...
...
@@ -2939,6 +2939,7 @@ static void test_messages(void)
SetWindowPos
(
hwnd
,
0
,
0
,
0
,
0
,
0
,
SWP_HIDEWINDOW
|
SWP_NOSIZE
|
SWP_NOMOVE
);
ok_sequence
(
WmSWP_HideOverlappedSeq
,
"SetWindowPos:SWP_HIDEWINDOW:overlapped"
,
FALSE
);
ok
(
!
IsWindowVisible
(
hwnd
),
"window should not be visible at this point
\n
"
);
ok
(
GetActiveWindow
()
==
hwnd
,
"window should still be active
\n
"
);
/* test WM_SETREDRAW on a visible top level window */
ShowWindow
(
hwnd
,
SW_SHOW
);
...
...
dlls/x11drv/winpos.c
View file @
fb99124f
...
...
@@ -934,7 +934,9 @@ BOOL X11DRV_ShowWindow( HWND hwnd, INT cmd )
case
SW_HIDE
:
if
(
!
wasVisible
)
return
FALSE
;
showFlag
=
FALSE
;
swp
|=
SWP_HIDEWINDOW
|
SWP_NOSIZE
|
SWP_NOMOVE
|
SWP_NOZORDER
;
swp
|=
SWP_HIDEWINDOW
|
SWP_NOSIZE
|
SWP_NOMOVE
;
if
(
hwnd
!=
GetActiveWindow
())
swp
|=
SWP_NOACTIVATE
|
SWP_NOZORDER
;
break
;
case
SW_SHOWMINNOACTIVE
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment