Commit 541c6194 authored by Adam Jackson's avatar Adam Jackson 🥃

Bug #14232: Fix XftDrawRect when Render not supported.

parent 8661a887
...@@ -807,7 +807,10 @@ XftDrawRect (XftDraw *draw, ...@@ -807,7 +807,10 @@ XftDrawRect (XftDraw *draw,
} }
else if (_XftDrawCorePrepare (draw, color)) else if (_XftDrawCorePrepare (draw, color))
{ {
XftRectCore (draw, color, x, y, width, height); /* note: not XftRectCore() */
XSetForeground (draw->dpy, draw->core.gc, color->pixel);
XFillRectangle (draw->dpy, draw->drawable, draw->core.gc,
x, y, width, height);
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment