[PATCH 2/4] winex11: Use the new window state tracker to get WM_STATE value.