News for hackers. Stuff that matters.
Re:GTK 5 might drop X11 support by asveikau on Wednesday July 06, 2022 @06:07PM (#32007439)
> GTK4 on Wayland is actually a pretty nice API to program with, which remedies a lot of warts in GTK/X11

Gtk on X11 does not expose any X11 to the programmer, so I really don't know what this is supposed to mean.

Re:GTK 5 might drop X11 support by pvorb on Wednesday July 06, 2022 @06:13PM (#32007503)
It means that GTK itself (internally, not necessarily its API) has warts.
Re:GTK 5 might drop X11 support by asveikau on Wednesday July 06, 2022 @06:31PM (#32007713)
Very doubtful to me.

The design of gtk is to separate the rendering in the GDK layer. Prior versions ran on Win32 without application changes.

That's how you can get it on X11 or Wayland without changing applications. Wayland didn't exist when this design choice was made, but has benefited from that choice. Imo rather than a liability, this is what good design looks like for such a library.

Re:GTK 5 might drop X11 support by pvorb on Thursday July 07, 2022 @03:27AM (#32010902)
No doubt. But isn't that unrelated to what I said? I was just explaining my grandparent's comment.

To provide the same API for such a broad set of underlying technology, you necessarily have to shoehorn a few things to make them fit. That doesn't make the API bad. It's awesome that applications don't have to do this on their own!

Re:GTK 5 might drop X11 support by asveikau on Thursday July 07, 2022 @03:22PM (#32018182)
Yes. I've seen it too often be the case that an appropriate layering or abstraction is derided as too much complexity, and that you should replace it with straight calls into the dependency. The former is often a strength, not a weakness!