File xfce4-session-adapt-session-scripts.patch of Package xfce4-session

diff -rub a/scripts/startxfce4.in b/scripts/startxfce4.in
--- a/scripts/startxfce4.in	2024-03-31 17:51:38.000000000 +0800
+++ b/scripts/startxfce4.in	2024-04-02 15:01:59.917577714 +0800
@@ -96,6 +96,10 @@
 then
   XDG_DATA_DIRS="$XDG_DATA_DIRS:@_datadir_@"
 fi
+if test -d "@_datadir_@/xfce"
+then
+  XDG_DATA_DIRS="@_datadir_@/xfce:$XDG_DATA_DIRS"
+fi
 export XDG_DATA_DIRS
 
 if test "x$XDG_CONFIG_DIRS" = "x"
openSUSE Build Service is sponsored by