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
970be647
Commit
970be647
authored
Apr 02, 2004
by
Dmitry Timoshkov
Committed by
Alexandre Julliard
Apr 02, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
WM_PARENTNOTIFY should not be sent to WS_POPUP windows.
parent
9ff78729
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
win.c
windows/win.c
+4
-4
No files found.
windows/win.c
View file @
970be647
...
...
@@ -197,10 +197,10 @@ static HWND *list_window_children( HWND hwnd, ATOM atom, DWORD tid )
*/
static
void
send_parent_notify
(
HWND
hwnd
,
UINT
msg
)
{
if
(
!
(
GetWindowLongW
(
hwnd
,
GWL_STYLE
)
&
WS_CHILD
))
return
;
if
(
GetWindowLongW
(
hwnd
,
GWL_EXSTYLE
)
&
WS_EX_NOPARENTNOTIFY
)
return
;
SendMessageW
(
GetParent
(
hwnd
),
WM_PARENTNOTIFY
,
MAKEWPARAM
(
msg
,
GetWindowLongW
(
hwnd
,
GWL_ID
)),
(
LPARAM
)
hwnd
);
if
(
(
GetWindowLongW
(
hwnd
,
GWL_STYLE
)
&
(
WS_CHILD
|
WS_POPUP
))
==
WS_CHILD
&&
!
(
GetWindowLongW
(
hwnd
,
GWL_EXSTYLE
)
&
WS_EX_NOPARENTNOTIFY
))
SendMessageW
(
GetParent
(
hwnd
),
WM_PARENTNOTIFY
,
MAKEWPARAM
(
msg
,
GetWindowLongW
(
hwnd
,
GWL_ID
)),
(
LPARAM
)
hwnd
);
}
...
...
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