diff --git a/meta-xfce/recipes-xfce/thunar/thunar_4.21.6.bb b/meta-xfce/recipes-xfce/thunar/thunar_4.21.7.bb
similarity index 88%
rename from meta-xfce/recipes-xfce/thunar/thunar_4.21.6.bb
rename to meta-xfce/recipes-xfce/thunar/thunar_4.21.7.bb
index 3ccab0ad69..4e663a692d 100644
--- a/meta-xfce/recipes-xfce/thunar/thunar_4.21.6.bb
+++ b/meta-xfce/recipes-xfce/thunar/thunar_4.21.7.bb
@@ -11,11 +11,11 @@ GTKDOC_MESON_OPTION = "gtk-doc"

 inherit xfce gobject-introspection mime-xdg perlnative gtk-doc

-SRC_URI[sha256sum] = "5412d3feb14b4c47ccea8b00e9a9e3dcc1ea0e86e305abcee344f2fe82518bf8"
+SRC_URI[sha256sum] = "fcb196b2f89cbcb8a3f5130fa9a1a11bc49d66a6403bc91aff7676648d95d51f"

 PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)}"
 PACKAGECONFIG[pcre] = "-Dpcre2=enabled,-Dpcre2=disabled,libpcre2"
-PACKAGECONFIG[x11] = "-Dx11=enabled -Dsession-management=enabled,-Dx11=disabled,libsm startup-notification virtual/libx11"
+PACKAGECONFIG[x11] = "-Dx11=enabled -Dsession-management=enabled,-Dx11=disabled,startup-notification virtual/libx11 xfce4-session"

 FILES:${PN} += " \
     ${libdir}/thunarx-3/* \
