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
38167e71
Commit
38167e71
authored
Jan 31, 2011
by
Dmitry Timoshkov
Committed by
Alexandre Julliard
Feb 01, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winex11.drv: Make sure that default clipping region exists before calling ExcludeUpdateRgn().
parent
bc13c7eb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
window.c
dlls/winex11.drv/window.c
+5
-1
No files found.
dlls/winex11.drv/window.c
View file @
38167e71
...
@@ -1605,7 +1605,7 @@ static void move_window_bits( struct x11drv_win_data *data, const RECT *old_rect
...
@@ -1605,7 +1605,7 @@ static void move_window_bits( struct x11drv_win_data *data, const RECT *old_rect
RECT
dst_rect
=
*
new_rect
;
RECT
dst_rect
=
*
new_rect
;
HDC
hdc_src
,
hdc_dst
;
HDC
hdc_src
,
hdc_dst
;
INT
code
;
INT
code
;
HRGN
rgn
=
0
;
HRGN
rgn
;
HWND
parent
=
0
;
HWND
parent
=
0
;
if
(
!
data
->
whole_window
)
if
(
!
data
->
whole_window
)
...
@@ -1624,6 +1624,9 @@ static void move_window_bits( struct x11drv_win_data *data, const RECT *old_rect
...
@@ -1624,6 +1624,9 @@ static void move_window_bits( struct x11drv_win_data *data, const RECT *old_rect
hdc_src
=
hdc_dst
=
GetDCEx
(
data
->
hwnd
,
0
,
DCX_CACHE
);
hdc_src
=
hdc_dst
=
GetDCEx
(
data
->
hwnd
,
0
,
DCX_CACHE
);
}
}
rgn
=
CreateRectRgnIndirect
(
&
dst_rect
);
SelectClipRgn
(
hdc_dst
,
rgn
);
DeleteObject
(
rgn
);
ExcludeUpdateRgn
(
hdc_dst
,
data
->
hwnd
);
ExcludeUpdateRgn
(
hdc_dst
,
data
->
hwnd
);
code
=
X11DRV_START_EXPOSURES
;
code
=
X11DRV_START_EXPOSURES
;
...
@@ -1636,6 +1639,7 @@ static void move_window_bits( struct x11drv_win_data *data, const RECT *old_rect
...
@@ -1636,6 +1639,7 @@ static void move_window_bits( struct x11drv_win_data *data, const RECT *old_rect
dst_rect
.
right
-
dst_rect
.
left
,
dst_rect
.
bottom
-
dst_rect
.
top
,
dst_rect
.
right
-
dst_rect
.
left
,
dst_rect
.
bottom
-
dst_rect
.
top
,
hdc_src
,
src_rect
.
left
,
src_rect
.
top
,
SRCCOPY
);
hdc_src
,
src_rect
.
left
,
src_rect
.
top
,
SRCCOPY
);
rgn
=
0
;
code
=
X11DRV_END_EXPOSURES
;
code
=
X11DRV_END_EXPOSURES
;
ExtEscape
(
hdc_dst
,
X11DRV_ESCAPE
,
sizeof
(
code
),
(
LPSTR
)
&
code
,
sizeof
(
rgn
),
(
LPSTR
)
&
rgn
);
ExtEscape
(
hdc_dst
,
X11DRV_ESCAPE
,
sizeof
(
code
),
(
LPSTR
)
&
code
,
sizeof
(
rgn
),
(
LPSTR
)
&
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