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
28dab876
Commit
28dab876
authored
Mar 26, 2000
by
Gerard Patel
Committed by
Alexandre Julliard
Mar 26, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Activate a hidden window only when explicitely asked by the
application.
parent
ac11a68f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
winpos.c
windows/winpos.c
+3
-2
No files found.
windows/winpos.c
View file @
28dab876
...
...
@@ -811,7 +811,8 @@ HWND WINAPI GetActiveWindow(void)
*/
static
BOOL
WINPOS_CanActivate
(
WND
*
pWnd
)
{
if
(
pWnd
&&
!
(
pWnd
->
dwStyle
&
(
WS_DISABLED
|
WS_CHILD
))
)
return
TRUE
;
if
(
pWnd
&&
(
(
pWnd
->
dwStyle
&
(
WS_DISABLED
|
WS_VISIBLE
|
WS_CHILD
))
==
WS_VISIBLE
)
)
return
TRUE
;
return
FALSE
;
}
...
...
@@ -834,7 +835,7 @@ HWND WINAPI SetActiveWindow( HWND hwnd )
WND
*
wndPtr
=
WIN_FindWndPtr
(
hwnd
);
MESSAGEQUEUE
*
pMsgQ
=
0
,
*
pCurMsgQ
=
0
;
if
(
!
WINPOS_CanActivate
(
wndPtr
)
)
if
(
!
wndPtr
||
(
wndPtr
->
dwStyle
&
(
WS_DISABLED
|
WS_CHILD
))
)
{
prev
=
0
;
goto
end
;
...
...
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