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
1dba866e
Commit
1dba866e
authored
Apr 19, 2012
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32: Don't invalidate DCEs for sibling top-level windows since they are not clipped.
parent
8b64a2f1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
10 deletions
+9
-10
painting.c
dlls/user32/painting.c
+9
-10
No files found.
dlls/user32/painting.c
View file @
1dba866e
...
...
@@ -425,18 +425,17 @@ void invalidate_dce( HWND hwnd, const RECT *extra_rect )
if
(
dce
->
hwnd
==
hwnd
||
IsChild
(
hwnd
,
dce
->
hwnd
))
{
make_dc_dirty
(
dce
);
continue
;
}
else
/* otherwise check if the window rectangle intersects this DCE window */
/* otherwise check if the window rectangle intersects this DCE window */
if
(
hwndScope
==
dce
->
hwnd
||
IsChild
(
hwndScope
,
dce
->
hwnd
))
{
if
(
hwndScope
==
GetDesktopWindow
()
||
hwndScope
==
dce
->
hwnd
||
IsChild
(
hwndScope
,
dce
->
hwnd
))
{
RECT
dce_rect
,
tmp
;
GetWindowRect
(
dce
->
hwnd
,
&
dce_rect
);
if
(
IntersectRect
(
&
tmp
,
&
dce_rect
,
&
window_rect
)
||
(
extra_rect
&&
IntersectRect
(
&
tmp
,
&
dce_rect
,
extra_rect
)))
make_dc_dirty
(
dce
);
}
RECT
dce_rect
,
tmp
;
GetWindowRect
(
dce
->
hwnd
,
&
dce_rect
);
if
(
IntersectRect
(
&
tmp
,
&
dce_rect
,
&
window_rect
)
||
(
extra_rect
&&
IntersectRect
(
&
tmp
,
&
dce_rect
,
extra_rect
)))
make_dc_dirty
(
dce
);
}
}
USER_Unlock
();
...
...
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