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
458719dc
Commit
458719dc
authored
Oct 31, 1999
by
Francis Beaudet
Committed by
Alexandre Julliard
Oct 31, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed a small bug in the behavior of maximized MDI children.
parent
cb6aa38d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
mdi.c
windows/mdi.c
+8
-1
No files found.
windows/mdi.c
View file @
458719dc
...
...
@@ -582,6 +582,14 @@ static LONG MDI_ChildActivate( WND *clientPtr, HWND hWndChild )
}
}
/* Don't activate if it is already active. Might happen
since ShowWindow DOES activate MDI children */
if
(
clientInfo
->
hwndActiveChild
==
hWndChild
)
{
retvalue
=
0L
;
goto
END
;
}
TRACE
(
"%04x
\n
"
,
hWndChild
);
if
(
GetActiveWindow
()
==
clientPtr
->
parent
->
hwndSelf
)
...
...
@@ -606,7 +614,6 @@ static LONG MDI_ChildActivate( WND *clientPtr, HWND hWndChild )
if
(
clientInfo
->
hwndChildMaximized
!=
hWndChild
)
{
if
(
hWndChild
)
{
clientInfo
->
hwndActiveChild
=
hWndChild
;
clientInfo
->
hwndChildMaximized
=
hWndChild
;
ShowWindow
(
hWndChild
,
SW_SHOWMAXIMIZED
);
}
else
ShowWindow
(
clientInfo
->
hwndActiveChild
,
SW_SHOWNORMAL
);
...
...
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