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
33617af8
Commit
33617af8
authored
Oct 31, 2022
by
Jinoh Kang
Committed by
Alexandre Julliard
Nov 04, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
server: Don't invalidate the newly exposed child region on the parent if it doesn't clip children.
This partly reverts
e42eaaaf
. Signed-off-by:
Jinoh Kang
<
jinoh.kang.kr@gmail.com
>
parent
c310e975
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
8 deletions
+2
-8
msg.c
dlls/user32/tests/msg.c
+0
-4
window.c
server/window.c
+2
-4
No files found.
dlls/user32/tests/msg.c
View file @
33617af8
...
@@ -9302,8 +9302,6 @@ static void subtest_swp_paint_regions_( int line, int wrap_toplevel, LPCSTR pare
...
@@ -9302,8 +9302,6 @@ static void subtest_swp_paint_regions_( int line, int wrap_toplevel, LPCSTR pare
}
}
else
else
{
{
todo_wine_if
(
!
EqualRect
(
&
rect_old
,
&
rect_new
)
&&
(
extest
->
style
&
WS_CLIPCHILDREN
)
==
0
&&
!
is_composited
)
ok
(
!!
rgn_ok
,
"Parent update region shall match expected region
\n
"
);
ok
(
!!
rgn_ok
,
"Parent update region shall match expected region
\n
"
);
}
}
...
@@ -9365,8 +9363,6 @@ static void subtest_swp_paint_regions_( int line, int wrap_toplevel, LPCSTR pare
...
@@ -9365,8 +9363,6 @@ static void subtest_swp_paint_regions_( int line, int wrap_toplevel, LPCSTR pare
}
}
else
else
{
{
todo_wine_if
(
!
EqualRect
(
&
rect_old
,
&
rect_new
)
&&
(
extest
->
style
&
WS_CLIPCHILDREN
)
==
0
&&
!
is_composited
)
ok
(
!!
rgn_ok
,
"Child update region shall match expected region
\n
"
);
ok
(
!!
rgn_ok
,
"Child update region shall match expected region
\n
"
);
}
}
...
...
server/window.c
View file @
33617af8
...
@@ -1766,10 +1766,8 @@ static struct region *expose_window( struct window *win, const rectangle_t *old_
...
@@ -1766,10 +1766,8 @@ static struct region *expose_window( struct window *win, const rectangle_t *old_
offset_region
(
new_vis_rgn
,
win
->
window_rect
.
left
-
old_window_rect
->
left
,
offset_region
(
new_vis_rgn
,
win
->
window_rect
.
left
-
old_window_rect
->
left
,
win
->
window_rect
.
top
-
old_window_rect
->
top
);
win
->
window_rect
.
top
-
old_window_rect
->
top
);
if
(
is_composited
?
union_region
(
new_vis_rgn
,
old_vis_rgn
,
new_vis_rgn
)
:
if
(
is_composited
?
union_region
(
new_vis_rgn
,
old_vis_rgn
,
new_vis_rgn
)
(
win
->
parent
->
style
&
WS_CLIPCHILDREN
)
?
:
subtract_region
(
new_vis_rgn
,
old_vis_rgn
,
new_vis_rgn
))
subtract_region
(
new_vis_rgn
,
old_vis_rgn
,
new_vis_rgn
)
:
xor_region
(
new_vis_rgn
,
old_vis_rgn
,
new_vis_rgn
))
{
{
if
(
!
is_region_empty
(
new_vis_rgn
))
if
(
!
is_region_empty
(
new_vis_rgn
))
{
{
...
...
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