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
aae76324
Commit
aae76324
authored
Nov 30, 2005
by
Vitaliy Margolen
Committed by
Alexandre Julliard
Nov 30, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
CreateWindow should not activate invisible minimized or maximized
windows. Add several tests to show the correct behavior.
parent
19b55e89
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
219 additions
and
3 deletions
+219
-3
msg.c
dlls/user/tests/msg.c
+215
-0
window.c
dlls/x11drv/window.c
+4
-3
No files found.
dlls/user/tests/msg.c
View file @
aae76324
This diff is collapsed.
Click to expand it.
dlls/x11drv/window.c
View file @
aae76324
...
...
@@ -1020,9 +1020,10 @@ BOOL X11DRV_CreateWindow( HWND hwnd, CREATESTRUCTA *cs, BOOL unicode )
UINT
swFlag
=
(
style
&
WS_MINIMIZE
)
?
SW_MINIMIZE
:
SW_MAXIMIZE
;
WIN_SetStyle
(
hwnd
,
0
,
WS_MAXIMIZE
|
WS_MINIMIZE
);
WINPOS_MinMaximize
(
hwnd
,
swFlag
,
&
newPos
);
swFlag
=
((
style
&
WS_CHILD
)
||
GetActiveWindow
())
?
SWP_NOACTIVATE
|
SWP_NOZORDER
|
SWP_FRAMECHANGED
:
SWP_NOZORDER
|
SWP_FRAMECHANGED
;
swFlag
=
SWP_FRAMECHANGED
|
SWP_NOZORDER
;
/* Frame always gets changed */
if
(
!
(
style
&
WS_VISIBLE
)
||
(
style
&
WS_CHILD
)
||
GetActiveWindow
())
swFlag
|=
SWP_NOACTIVATE
;
SetWindowPos
(
hwnd
,
0
,
newPos
.
left
,
newPos
.
top
,
newPos
.
right
,
newPos
.
bottom
,
swFlag
);
}
...
...
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