[PATCH v2 2/3] server: Set NULL foreground input when switching to desktop window.