XFillRectangles does not work correctly with wide rectangles
Issue
- When using applications through X11 forwarding that use the following X commands:
XFillRectangles(dpy, win, gc, rectangles[0], 6);
XSetFillStyle(dpy, gc, FillSolid);
XDrawRectangles(dpy, win, gc, rectangles[0], 6);
XFlush(dpy);
//where
XRectangle rectangles[3][6] =
{
{
{ -26749, 467, 52409, 46},
{ -26749, 375, 52409, 47},
{ -26749, 284, 52409, 46},
{ -26749, 192, 52409, 47},
{ -26749, 101, 52409, 46},
{ -26749, 9, 52409, 47}
},
//...
- XFillRectangles results displays flat lines instead of a rectangle of expected number of pixels.
Environment
- Red Hat Enterprise Linux 8
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.