Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
wine
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Yoann Laissus
wine
Commits
e0f0a2eb
Commit
e0f0a2eb
authored
23 years ago
by
Joshua Thielen
Committed by
Alexandre Julliard
23 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Switch focus to activated window even if no window previously had the
focus.
parent
51349422
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
windows/winpos.c
+1
-1
1 addition, 1 deletion
windows/winpos.c
with
1 addition
and
1 deletion
windows/winpos.c
+
1
−
1
View file @
e0f0a2eb
...
...
@@ -1377,7 +1377,7 @@ BOOL WINPOS_SetActiveWindow( HWND hWnd, BOOL fMouse, BOOL fChangeFocus)
{
HWND
hOldFocus
=
PERQDATA_GetFocusWnd
(
pNewActiveQueue
->
pQData
);
if
(
hOldFocus
&&
GetAncestor
(
hOldFocus
,
GA_ROOT
)
!=
hwndActive
)
if
(
!
hOldFocus
||
GetAncestor
(
hOldFocus
,
GA_ROOT
)
!=
hwndActive
)
FOCUS_SwitchFocus
(
pNewActiveQueue
,
hOldFocus
,
(
wndPtr
&&
(
wndPtr
->
dwStyle
&
WS_MINIMIZE
))
?
0
:
hwndActive
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment