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
3a728361
Commit
3a728361
authored
Jun 14, 2018
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winex11: Fix exposing partially off-screen windows.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
2fb792bd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
bitblt.c
dlls/winex11.drv/bitblt.c
+3
-1
No files found.
dlls/winex11.drv/bitblt.c
View file @
3a728361
...
@@ -2092,11 +2092,13 @@ HRGN expose_surface( struct window_surface *window_surface, const RECT *rect )
...
@@ -2092,11 +2092,13 @@ HRGN expose_surface( struct window_surface *window_surface, const RECT *rect )
{
{
struct
x11drv_window_surface
*
surface
=
get_x11_surface
(
window_surface
);
struct
x11drv_window_surface
*
surface
=
get_x11_surface
(
window_surface
);
HRGN
region
=
0
;
HRGN
region
=
0
;
RECT
rc
=
*
rect
;
if
(
window_surface
->
funcs
!=
&
x11drv_surface_funcs
)
return
0
;
/* we may get the null surface */
if
(
window_surface
->
funcs
!=
&
x11drv_surface_funcs
)
return
0
;
/* we may get the null surface */
window_surface
->
funcs
->
lock
(
window_surface
);
window_surface
->
funcs
->
lock
(
window_surface
);
add_bounds_rect
(
&
surface
->
bounds
,
rect
);
OffsetRect
(
&
rc
,
-
window_surface
->
rect
.
left
,
-
window_surface
->
rect
.
top
);
add_bounds_rect
(
&
surface
->
bounds
,
&
rc
);
if
(
surface
->
region
)
if
(
surface
->
region
)
{
{
region
=
CreateRectRgnIndirect
(
rect
);
region
=
CreateRectRgnIndirect
(
rect
);
...
...
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