After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 156182 - Enforce windows only being on one workspace at a time
Enforce windows only being on one workspace at a time
Status: RESOLVED FIXED
Product: metacity
Classification: Other
Component: general
2.8.x
Other Linux
: Normal normal
: ---
Assigned To: Metacity maintainers list
Metacity maintainers list
Depends on:
Blocks:
 
 
Reported: 2004-10-22 20:43 UTC by Elijah Newren
Modified: 2004-12-22 23:53 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Replace window->workspaces with window->workspace (16.68 KB, patch)
2004-12-22 05:00 UTC, Elijah Newren
accepted-commit_now Details | Review

Description Elijah Newren 2004-10-22 20:43:07 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.
Comment 1 Elijah Newren 2004-12-22 05:00:30 UTC
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 2 Havoc Pennington 2004-12-22 22:10:49 UTC
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.
Comment 3 Elijah Newren 2004-12-22 23:53:37 UTC
Committed.