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
a97c7d2f
Commit
a97c7d2f
authored
Nov 27, 2003
by
Rein Klazes
Committed by
Alexandre Julliard
Nov 27, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
In clip_children() don't clip the visible region by children that have
a WS_EX_TRANSPARENT style.
parent
1afef2c7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
6 deletions
+2
-6
winpos.c
dlls/x11drv/winpos.c
+2
-6
No files found.
dlls/x11drv/winpos.c
View file @
a97c7d2f
...
...
@@ -86,9 +86,6 @@ static int clip_children( HWND parent, HWND last, HRGN hrgn, int whole_window )
/* first check if we have anything to do */
if
(
!
(
list
=
WIN_ListChildren
(
parent
)))
return
ret
;
for
(
i
=
0
;
list
[
i
]
&&
list
[
i
]
!=
last
;
i
++
)
if
(
GetWindowLongW
(
list
[
i
],
GWL_STYLE
)
&
WS_VISIBLE
)
break
;
if
(
!
list
[
i
]
||
list
[
i
]
==
last
)
goto
done
;
/* no children to clip */
if
(
whole_window
)
{
...
...
@@ -101,10 +98,10 @@ static int clip_children( HWND parent, HWND last, HRGN hrgn, int whole_window )
rectRgn
=
CreateRectRgn
(
0
,
0
,
0
,
0
);
for
(
;
list
[
i
]
&&
list
[
i
]
!=
last
;
i
++
)
for
(
i
=
0
;
list
[
i
]
&&
list
[
i
]
!=
last
;
i
++
)
{
if
(
!
(
ptr
=
WIN_FindWndPtr
(
list
[
i
]
)))
continue
;
if
(
ptr
->
dwStyle
&
WS_VISIBLE
)
if
(
(
ptr
->
dwStyle
&
WS_VISIBLE
)
&&
!
(
ptr
->
dwExStyle
&
WS_EX_TRANSPARENT
)
)
{
SetRectRgn
(
rectRgn
,
ptr
->
rectWindow
.
left
+
x
,
ptr
->
rectWindow
.
top
+
y
,
ptr
->
rectWindow
.
right
+
x
,
ptr
->
rectWindow
.
bottom
+
y
);
...
...
@@ -117,7 +114,6 @@ static int clip_children( HWND parent, HWND last, HRGN hrgn, int whole_window )
WIN_ReleaseWndPtr
(
ptr
);
}
DeleteObject
(
rectRgn
);
done:
HeapFree
(
GetProcessHeap
(),
0
,
list
);
return
ret
;
}
...
...
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