diff --git a/cde/programs/dtwm/WmManage.c b/cde/programs/dtwm/WmManage.c index cfdd6d87e..64b6c37a1 100644 --- a/cde/programs/dtwm/WmManage.c +++ b/cde/programs/dtwm/WmManage.c @@ -443,11 +443,6 @@ ManageWindow (WmScreenData *pSD, Window clientWindow, long manageFlags) return; } - ApplyPrematureClientMessages (pCD); - - if (!HasProperty (pCD, wmGD.xa__NET_WM_STATE)) - UpdateNetWmState (pCD->client, NULL, 0, _NET_WM_STATE_REMOVE); - /* * Send config notify if the client's been moved/resized */ @@ -745,6 +740,11 @@ ManageWindow (WmScreenData *pSD, Window clientWindow, long manageFlags) CurrentTime, NULL, 0); } + ApplyPrematureClientMessages (pCD); + + if (!HasProperty (pCD, wmGD.xa__NET_WM_STATE)) + UpdateNetWmState (pCD->client, NULL, 0, _NET_WM_STATE_REMOVE); + /* * Free the initial property list. This will force * reads of properties that change after the initial