This is not strictly required but can help in some cases and is
consistent with the code that e.g. wlroots 0 and sway 1 use.
A patch like this used to be required for Nixpkgs but that isn't the case anymore. Maybe it's still useful for some but feel free to reject this patch if you don't think so.