One or more roxterm users would like the WINDOWID environment variable back. This requires the use of gdk_x11_window_get_xid()
. I’ve made sure roxterm only calls it after compile-time and run-time checks:
#ifdef GDK_WINDOWING_X11
if (GDK_IS_X11_DISPLAY(gdk_display_get_default()))
{
...
}
#endif
but I’m still concerned that when it’s running in Wayland but X11 was also available at compile-time, the presence of gdk_x11_window_get_xid()
may cause GDK’s X11 backend shared library to be uselessly loaded. Is that the case, or does the Wayland backend include dummy versions of the gdk_x11 functions?