
On Mon, Feb 11, 2008 at 02:36:27PM -0500, Brandon S. Allbery KF8NH wrote:
On Feb 11, 2008, at 14:31 , Andrea Rossato wrote:
On Mon, Feb 11, 2008 at 02:20:46PM -0500, Brandon S. Allbery KF8NH wrote:
I will repeat that the correct way to designate decoration windows is to attach a decoration property to them, both to answer questions of "is this a real window?" and to be able to recover if xmonad exits unexpectedly leaving its decoration windows around (otherwise restarting xmonad turns decoration windows into managed windows because it doesn't know any better).
decoration windows have the override_redirect bit set to true, and so xmonad is not going to manage them on a restart.
So instead they just hang around forever. You still want the property in that case, so a restarted xmonad can correctly recognize them as orphaned and destroy them.
Won't the X server clean them up when the client that created them exits? (the Display file descriptor is set to close on exec, as far as I know) Cheers, Spencer Janssen