3a7dc32659
Currently the window-added and window-removed callbacks in main.js:_onWorkspaceSwitched access the first parameter as metaWindow object, but in fact the first one passed is the workspace (metaWorkspace). Fix it by using the second parameter instead (which is a metaWindow object). https://bugzilla.gnome.org/show_bug.cgi?id=609521