Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
7ea98f68
Commit
7ea98f68
authored
May 26, 2010
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32: Check the active window instead of the foreground to show/hide owned popups.
parent
f26b4f68
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
nonclient.c
dlls/user32/nonclient.c
+3
-3
No files found.
dlls/user32/nonclient.c
View file @
7ea98f68
...
...
@@ -1548,19 +1548,19 @@ LRESULT NC_HandleSysCommand( HWND hwnd, WPARAM wParam, LPARAM lParam )
break
;
case
SC_MINIMIZE
:
if
(
hwnd
==
Get
Foreground
Window
())
if
(
hwnd
==
Get
Active
Window
())
ShowOwnedPopups
(
hwnd
,
FALSE
);
ShowWindow
(
hwnd
,
SW_MINIMIZE
);
break
;
case
SC_MAXIMIZE
:
if
(
IsIconic
(
hwnd
)
&&
hwnd
==
Get
Foreground
Window
())
if
(
IsIconic
(
hwnd
)
&&
hwnd
==
Get
Active
Window
())
ShowOwnedPopups
(
hwnd
,
TRUE
);
ShowWindow
(
hwnd
,
SW_MAXIMIZE
);
break
;
case
SC_RESTORE
:
if
(
IsIconic
(
hwnd
)
&&
hwnd
==
Get
Foreground
Window
())
if
(
IsIconic
(
hwnd
)
&&
hwnd
==
Get
Active
Window
())
ShowOwnedPopups
(
hwnd
,
TRUE
);
ShowWindow
(
hwnd
,
SW_RESTORE
);
break
;
...
...
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