Apple menu > System Preferences > Mission Control
Displays have separate Spaces (note a logout is required before this setting will take effect).
false = each physical display has a separate space (Mac default) true = one space spans across all physical displays.
Declarations
Type
null or boolean
Default
null
Sign in to create a configuration using this setting.