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
3d4d0862
Commit
3d4d0862
authored
Oct 17, 2001
by
Bill Medland
Committed by
Alexandre Julliard
Oct 17, 2001
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Only modify the ancestor if you find it.
parent
4b626181
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
5 deletions
+7
-5
winpos.c
windows/winpos.c
+7
-5
No files found.
windows/winpos.c
View file @
3d4d0862
...
...
@@ -1339,12 +1339,14 @@ BOOL WINPOS_SetActiveWindow( HWND hWnd, BOOL fMouse, BOOL fChangeFocus)
{
/* walk up to the first unowned window */
HWND
tmp
=
GetAncestor
(
hWnd
,
GA_ROOTOWNER
);
wndTemp
=
WIN_FindWndPtr
(
tmp
);
/* and set last active owned popup */
wndTemp
->
hwndLastActive
=
hWnd
;
if
((
wndTemp
=
WIN_FindWndPtr
(
tmp
)))
{
/* and set last active owned popup */
wndTemp
->
hwndLastActive
=
hWnd
;
wIconized
=
HIWORD
(
wndTemp
->
dwStyle
&
WS_MINIMIZE
);
WIN_ReleaseWndPtr
(
wndTemp
);
wIconized
=
HIWORD
(
wndTemp
->
dwStyle
&
WS_MINIMIZE
);
WIN_ReleaseWndPtr
(
wndTemp
);
}
SendMessageA
(
hWnd
,
WM_NCACTIVATE
,
TRUE
,
0
);
SendMessageA
(
hWnd
,
WM_ACTIVATE
,
MAKEWPARAM
(
(
fMouse
)
?
WA_CLICKACTIVE
:
WA_ACTIVE
,
wIconized
),
...
...
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