x11DesktopNumber property was replaced with the desktops property, which is a list of desktop ids. (cherry picked from commit 721bfe17)