[PATCH] winex11.drv/window: Sync the window cursor before grabbing it