mirror of
https://bitbucket.org/smil3y/katie.git
synced 2025-02-24 19:02:59 +00:00
ensure the brush pixmap has a X11 handle in getPatternFill() function
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
57a59c02cb
commit
32f836c927
1 changed files with 1 additions and 1 deletions
|
@ -263,7 +263,7 @@ static Picture getPatternFill(int screen, const QBrush &b)
|
|||
|
||||
XRenderFillRectangle(qt_x11Data->display, PictOpSrc, qt_x11Data->pattern_fills[i].picture, &bg_color, 0, 0, 8, 8);
|
||||
|
||||
QPixmap pattern(qt_pixmapForBrush(b.style()));
|
||||
QPixmap pattern(qt_toX11Pixmap(qt_pixmapForBrush(b.style())));
|
||||
XRenderPictureAttributes attrs;
|
||||
attrs.repeat = true;
|
||||
XRenderChangePicture(qt_x11Data->display, pattern.x11PictureHandle(), CPRepeat, &attrs);
|
||||
|
|
Loading…
Add table
Reference in a new issue