gnome-session only does this conditionally under XWayland.
This will create a new commit in order to revert the existing changes.