[PATCH v5 4/5] server: Set NULL foreground input when switching to desktop window.