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
3365eb7a
Commit
3365eb7a
authored
Jul 06, 2004
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
get_visible_region: do not clip out siblings of the top-level window.
parent
95012151
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
window.c
server/window.c
+2
-3
No files found.
server/window.c
View file @
3365eb7a
...
...
@@ -522,7 +522,7 @@ static struct region *get_visible_region( struct window *win, struct window *top
/* create a region relative to the window itself */
if
((
flags
&
DCX_PARENTCLIP
)
&&
win
->
parent
)
if
((
flags
&
DCX_PARENTCLIP
)
&&
win
!=
top
&&
win
->
parent
)
{
rectangle_t
rect
;
rect
.
left
=
rect
.
top
=
0
;
...
...
@@ -562,14 +562,13 @@ static struct region *get_visible_region( struct window *win, struct window *top
if
(
top
&&
top
!=
win
&&
(
tmp
=
create_empty_region
())
!=
NULL
)
{
offset_region
(
region
,
offset_x
,
offset_y
);
/* make it relative to parent */
while
(
win
->
parent
)
while
(
win
!=
top
&&
win
->
parent
)
{
if
(
win
->
style
&
WS_CLIPSIBLINGS
)
{
if
(
!
clip_children
(
win
->
parent
,
win
,
region
,
0
,
0
))
goto
error
;
if
(
is_region_empty
(
region
))
break
;
}
if
(
win
==
top
)
break
;
/* clip to parent client area */
win
=
win
->
parent
;
offset_x
+=
win
->
client_rect
.
left
;
...
...
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