Re: Another XLibre and/or Wayland subthread

rbowman <[email protected]> 28 Jul 2026 04:23:02 GMT
Newsgroups comp.os.linux.misc
Message-ID <[email protected]>
On Tue, 28 Jul 2026 00:24:58 +0000, Farley Flud wrote:

> Both GTK+ and Qt can be built with, as of now, an optional Wayland
> integration using libwayland.  Of course, X11 integration has been the
> standard default for both.

I believe that is handled in GDK.  

https://en.wikipedia.org/wiki/GDK

pkg-config --libs gtk+-3.0

-lgtk-3 -lgdk-3 -lpangocairo-1.0 -lcairo-gobject -lgdk_pixbuf-2.0 
-latk-1.0 -lpango-1.0 -lcairo -lharfbuzz -lgio-2.0 -lgobject-2.0 
-lglib-2.0 -lz


I get the same libs on Ubuntu 26.04 which is Wayland and MX 25.2 which is 
X11. /usr/include/gtk-3.0/gdk has both x11 and wayland subdirectories. I 
assume it gets sorted out there although I don't see any obvious #ifdef or 
other switch.