Re: XDrawRectangle workaround

Sander Jansen <[email protected]> Wed, 3 May 2023 14:23:04 -0500
Newsgroups gmane.comp.lib.fox-toolkit.user
Message-ID <CACj81kERb8iLHrOCUJAfSTBJF9NCoT2i-3d4L8U1q7iq=HdK1A@mail.gmail.com>
uhmm, it only sets it to 1 if the current value is 0, right?

On Wed, May 3, 2023 at 2:04 PM <[email protected]> wrote:

> On 2023-05-03 12:08, Sander Jansen wrote:
> > I noticed some missing pixels when running FOX under wayland/GNOME:
> > Looks like there may be a driver issue as the FLTK project reported
> > the same thing.
> >
> > https://github.com/fltk/fltk/issues/156
> > https://gitlab.freedesktop.org/xorg/xserver/-/issues/1221
> >
> > This workaround makes quality pixels again:
> >
> https://github.com/gogglesmm/gogglesmm/commit/7ed5be92dec805765304f4b05f02fe46
> > _______________________________________________
> > Foxgui-users mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/foxgui-users
>
> We may need to do something different than your fix.
>
> Because if user has changed line width, we'd be resetting it to
> 1 for the rectangle.
>
> Maybe just initialize linewidth to 1 when GC is created?
>
>

_______________________________________________
Foxgui-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/foxgui-users