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
603675d0
Commit
603675d0
authored
May 20, 2009
by
Vincent Povirk
Committed by
Alexandre Julliard
May 21, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winex11.drv: Use the proper enum value for repeat.
parent
061b6a83
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
xrender.c
dlls/winex11.drv/xrender.c
+7
-1
No files found.
dlls/winex11.drv/xrender.c
View file @
603675d0
...
...
@@ -47,6 +47,12 @@ static BOOL X11DRV_XRender_Installed = FALSE;
#include <X11/Xlib.h>
#include <X11/extensions/Xrender.h>
#ifndef RepeatNone
/* added in 0.10 */
#define RepeatNone 0
#define RepeatNormal 1
#define RepeatPad 2
#define RepeatReflect 3
#endif
enum
drawable_depth_type
{
mono_drawable
,
color_drawable
};
static
XRenderPictFormat
*
pict_formats
[
2
];
...
...
@@ -1166,7 +1172,7 @@ static Picture get_tile_pict(enum drawable_depth_type type, int text_pixel)
wine_tsx11_lock
();
tile
->
xpm
=
XCreatePixmap
(
gdi_display
,
root_window
,
1
,
1
,
pict_formats
[
type
]
->
depth
);
pa
.
repeat
=
True
;
pa
.
repeat
=
RepeatNormal
;
tile
->
pict
=
pXRenderCreatePicture
(
gdi_display
,
tile
->
xpm
,
pict_formats
[
type
],
CPRepeat
,
&
pa
);
wine_tsx11_unlock
();
...
...
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