[PATCH 3/3] winex11: Keep track and use expected window focus time on WM_STATE changes.