aboutsummaryrefslogtreecommitdiff
path: root/src/backend/xrender
diff options
context:
space:
mode:
authorallusive-dev <[email protected]>2023-11-04 08:14:28 +1100
committerallusive-dev <[email protected]>2023-11-04 08:14:28 +1100
commitd270894f08bc79177cbb4a20ab681881203510b2 (patch)
tree2be7ce54762db17713d637829ffc3bd1a1b4b3fa /src/backend/xrender
parentupdate 1.2.7 (diff)
downloadcompfy-1.2.9.tar.xz
compfy-1.2.9.zip
Fixes for #18 and #231.2.9
Diffstat (limited to 'src/backend/xrender')
-rw-r--r--src/backend/xrender/xrender.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/backend/xrender/xrender.c b/src/backend/xrender/xrender.c
index 2b7f8e1..79b3ca9 100644
--- a/src/backend/xrender/xrender.c
+++ b/src/backend/xrender/xrender.c
@@ -518,8 +518,9 @@ bind_pixmap(backend_t *base, xcb_pixmap_t pixmap, struct xvisual_info fmt, bool
inner->height = img->base.eheight = r->height;
inner->pixmap = pixmap;
inner->has_alpha = fmt.alpha_size != 0;
- inner->pict =
- x_create_picture_with_visual_and_pixmap(base->c, fmt.visual, pixmap, 0, NULL);
+ xcb_render_create_picture_value_list_t pic_attrs = {.repeat = XCB_RENDER_REPEAT_NORMAL};
+ inner->pict = x_create_picture_with_visual_and_pixmap(
+ base->c, fmt.visual, pixmap, XCB_RENDER_CP_REPEAT, &pic_attrs);
inner->owned = owned;
inner->visual = fmt.visual;
inner->refcount = 1;