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