mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-03-09 15:50:02 +00:00
dtwm: manage windows properly to avoid potential
segmentation faults.
This commit is contained in:
parent
e4c1e173fa
commit
38a1b9fcca
1 changed files with 5 additions and 5 deletions
|
@ -443,11 +443,6 @@ ManageWindow (WmScreenData *pSD, Window clientWindow, long manageFlags)
|
||||||
return;
|
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
|
* Send config notify if the client's been moved/resized
|
||||||
*/
|
*/
|
||||||
|
@ -745,6 +740,11 @@ ManageWindow (WmScreenData *pSD, Window clientWindow, long manageFlags)
|
||||||
CurrentTime, NULL, 0);
|
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
|
* Free the initial property list. This will force
|
||||||
* reads of properties that change after the initial
|
* reads of properties that change after the initial
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue