GNOME Bugzilla – Bug 580025
Add ::window-added and ::window-removed signals to MetaWorkspace
Last modified: 2009-04-24 14:02:04 UTC
Here's a patch to allow tracking adding and removing windows. It overlaps with the n-windows property quite a bit, but allows more specific tracking. It might be possible to remove the ::n-windows property given this addition.
Created attachment 133213 [details] [review] Add ::window-added and ::window-removed signals to MetaWorkspace Add sigals to MetaWorkspace to allow tracking when windows are added and removed. Note that on window creation that these signals are fired before the window setup is totally complete, so they need to be used with some care. (For example, the compositor, if present, has not been notified of the new window.)
Pushed to master on git.gnome.org. (Thanks for looking the patches over, Tomas)