[PATCH] winex11.drv: Cache the current mode for detached outputs.