Skip to content

switchMonitor: Fix initial selection on desktop

Due to !2056 (merged) the monitor config is 2 instead of 4 on the desktop. However, the constant Meta.MonitorSwitchConfigType.UNKNOWN is fixed to 4, and may cause the initial selection to be out of index thus fail to display the switcher. This replaces the above constant to the actual length of the switcher items.

Merge request reports