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
ee40cb4b
Commit
ee40cb4b
authored
Jul 03, 2007
by
Huw Davies
Committed by
Alexandre Julliard
Jul 03, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winex11.drv: Pass root_window to XCreatePixmap to avoid BadDrawable errors.
parent
39a56382
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
xrender.c
dlls/winex11.drv/xrender.c
+3
-3
No files found.
dlls/winex11.drv/xrender.c
View file @
ee40cb4b
...
...
@@ -1207,7 +1207,7 @@ BOOL X11DRV_XRender_ExtTextOut( X11DRV_PDEVICE *physDev, INT x, INT y, UINT flag
XRenderPictFormat
*
format
=
(
physDev
->
depth
==
1
)
?
mono_format
:
screen_format
;
wine_tsx11_lock
();
physDev
->
xrender
->
tile_xpm
=
XCreatePixmap
(
gdi_display
,
physDev
->
drawable
,
root_window
,
1
,
1
,
format
->
depth
);
pa
.
repeat
=
True
;
...
...
@@ -1425,7 +1425,7 @@ BOOL X11DRV_XRender_ExtTextOut( X11DRV_PDEVICE *physDev, INT x, INT y, UINT flag
image_w
,
image_h
,
AllPlanes
,
ZPixmap
,
physDev
->
depth
,
image
);
if
(
!
image
)
{
Pixmap
xpm
=
XCreatePixmap
(
gdi_display
,
physDev
->
drawable
,
image_w
,
image_h
,
Pixmap
xpm
=
XCreatePixmap
(
gdi_display
,
root_window
,
image_w
,
image_h
,
physDev
->
depth
);
GC
gc
;
XGCValues
gcv
;
...
...
@@ -1622,7 +1622,7 @@ BOOL X11DRV_AlphaBlend(X11DRV_PDEVICE *devDst, INT xDst, INT yDst, INT widthDst,
TRACE
(
"dst_pict %08lx
\n
"
,
dst_pict
);
TRACE
(
"src_drawable = %08lx
\n
"
,
devSrc
->
drawable
);
xpm
=
XCreatePixmap
(
gdi_display
,
devSrc
->
drawable
,
root_window
,
widthSrc
,
heightSrc
,
32
);
gcv
.
graphics_exposures
=
False
;
gc
=
XCreateGC
(
gdi_display
,
xpm
,
GCGraphicsExposures
,
&
gcv
);
...
...
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