xfdesktop-4.20 (4.19) makes use of X11 functionality unconditionally, even when X support ist disabled.
When compiling xfdesktop withotu X support against libxfce4ui, xfdesktop still expects X functionality.
n/a
- compile libxfce4ui with wayland an dwithout X support, same for xfdesktop
clean build
n/a
Environment & Versions
- OS distribution and version:
- Overall Xfce version:
- xfdesktop version (git hash if not a release):
- Windowing system (X11/Wayland):
- Compositor and version (if Wayland):
- GTK Theme:
- Icon Theme:
- UI Scale Factor:
Proposing following patch:
diff '--color=auto' -Naur xfdesktop-4.20.0-orig/src/main.c xfdesktop-4.20.0-new/src/main.c --- xfdesktop-4.20.0-orig/src/main.c 2024-11-04 17:35:32.000000000 +0100 +++ xfdesktop-4.20.0-new/src/main.c 2025-01-04 15:49:02.439285917 +0100 @@ -59,7 +59,9 @@ #endif
app = xfdesktop_application_get();
+#ifdef ENABLE_X11 g_application_add_option_group(G_APPLICATION(app), xfce_sm_client_get_option_group(argc, argv)); +#endif
ret = g_application_run(G_APPLICATION(app), argc, argv);
xfce_sm_client_get_option_group is only available (includign corresponding Header) when libxfce4ui is compiled with X support enabled.