GNOME Bugzilla – Bug 156182
Enforce windows only being on one workspace at a time
Last modified: 2004-12-22 23:53:37 UTC
As pointed out in bug 105665, we have some conflicting requirements: - windows are allowed to be on more than one workspace - "showing desktop" is now a per-workspace quantity instead of a global one - _NET_WM_STATE_HIDDEN is still a global quantity, not a per-workspace one Havoc said he'd like to fix this by only having windows on one workspace at a time--since that is pretty much what we do right now anyway. This means replacing window->workspaces (a GList of MetaWorkspace*'s) with window->workspace (just a MetaWorkspace*), and also making the change suggested in bug 87531 for those that like sticky windows.
Created attachment 35108 [details] [review] Replace window->workspaces with window->workspace A nice side-effect of doing this is there are a number of small clean-ups that are enabled with this change. It also turns out there were at least a couple places where we were already assuming that there was only one item in the workspaces GList.
Comment on attachment 35108 [details] [review] Replace window->workspaces with window->workspace Seems like a good cleanup - safe to say that if we haven't added "window is on multiple workspaces" by now we won't ever think of a reason to do so.
Committed.