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
ca5746ad
Commit
ca5746ad
authored
Feb 11, 2013
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
server: Also exclude the top-level client rectangle for windows that have a pixel format.
parent
77874d78
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
bitblt.c
dlls/winex11.drv/bitblt.c
+1
-0
window.c
server/window.c
+4
-1
No files found.
dlls/winex11.drv/bitblt.c
View file @
ca5746ad
...
...
@@ -2029,6 +2029,7 @@ struct window_surface *create_surface( Window window, const XVisualInfo *vis, co
}
surface
->
gc
=
XCreateGC
(
gdi_display
,
window
,
0
,
NULL
);
XSetSubwindowMode
(
gdi_display
,
surface
->
gc
,
IncludeInferiors
);
surface
->
byteswap
=
image_needs_byteswap
(
surface
->
image
,
is_r8g8b8
(
vis
),
format
->
bits_per_pixel
);
if
(
surface
->
byteswap
||
format
->
bits_per_pixel
==
4
||
format
->
bits_per_pixel
==
8
)
...
...
server/window.c
View file @
ca5746ad
...
...
@@ -1084,6 +1084,9 @@ static struct region *get_surface_region( struct window *win )
set_region_rect
(
clip
,
&
win
->
client_rect
);
if
(
win
->
win_region
&&
!
intersect_window_region
(
clip
,
win
))
goto
error
;
if
((
win
->
paint_flags
&
PAINT_HAS_PIXEL_FORMAT
)
&&
!
subtract_region
(
region
,
region
,
clip
))
goto
error
;
/* clip children */
if
(
!
is_desktop_window
(
win
))
...
...
@@ -2264,7 +2267,7 @@ DECL_HANDLER(set_window_pos)
top
=
get_top_clipping_window
(
win
);
if
(
is_visible
(
top
)
&&
(
top
->
paint_flags
&
PAINT_HAS_SURFACE
)
&&
(
top
->
paint_flags
&
PAINT_PIXEL_FORMAT_CHILD
))
(
top
->
paint_flags
&
(
PAINT_HAS_PIXEL_FORMAT
|
PAINT_PIXEL_FORMAT_CHILD
)
))
reply
->
surface_win
=
top
->
handle
;
}
...
...
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