Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
bd24842e
Commit
bd24842e
authored
Jun 29, 2015
by
Dmitry Timoshkov
Committed by
Alexandre Julliard
Jul 01, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winex11: Don't call ExcludeUpdateRgn for a window with WS_CLIPCHILDREN style.
parent
55a78fd1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
window.c
dlls/winex11.drv/window.c
+7
-1
No files found.
dlls/winex11.drv/window.c
View file @
bd24842e
...
...
@@ -1335,7 +1335,13 @@ static void move_window_bits( HWND hwnd, Window window, const RECT *old_rect, co
rgn
=
CreateRectRgnIndirect
(
&
dst_rect
);
SelectClipRgn
(
hdc_dst
,
rgn
);
DeleteObject
(
rgn
);
ExcludeUpdateRgn
(
hdc_dst
,
hwnd
);
/* WS_CLIPCHILDREN doesn't exclude children from the window update
* region, and ExcludeUpdateRgn call may inappropriately clip valid
* child window contents from the copied parent window bits, but we
* still want to avoid copying invalid window bits when possible.
*/
if
(
!
(
GetWindowLongW
(
hwnd
,
GWL_STYLE
)
&
WS_CLIPCHILDREN
))
ExcludeUpdateRgn
(
hdc_dst
,
hwnd
);
code
=
X11DRV_START_EXPOSURES
;
ExtEscape
(
hdc_dst
,
X11DRV_ESCAPE
,
sizeof
(
code
),
(
LPSTR
)
&
code
,
0
,
NULL
);
...
...
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