On 7/3/24 7:16 AM, Mart Raudsepp wrote: > Please do see about approaching upstream about this in the context of > GTK4 in a constructive friendly manner, perhaps from the angle of how > to transition any distribution to a GTK that does not include X11 > support with less migrational pain - this should be of interest for > more cases than Gentoo. > > Maybe the idea about selecting backend stubs to include for their API > functions, which would just end up returning what a fully enabled > backend would return when the running environment is NOT that backend > (e.g. when gdk-x11 functions are called in a wayland native app or gdk- > wayland functions are called when X11 or Xwayland is in use). > > If that gains some traction, maybe we could also do this for GTK3 as > well. > > Given how we'd have to end up maintaining this long term, such upstream > discussions are sort of a soft blocker for proceeding with the > patchset, as far as I'm concerned. Filed as https://gitlab.gnome.org/GNOME/gtk/-/issues/6832, fingers crossed. -- Eli Schwartz