Next: Operations on Groups, Previous: Window Groups, Up: Window Groups
It is possible to change the group of a window in Sawfish. Use
add-window-to-group, or if necessary you can set the window's
group property explicitly.
Place window in group group-id, replacing any previous group membership. If group-id is
nil, then Sawfish returns the window to whatever group membership was supplied by ICCCM.
Place window into a new group, which will have window as its sole member. This is an anonymous user-defined group. The new group ID is returned.
The Sawfish group assignment never overrides the ICCCM group
assignment, just suppresses it. The window-actual-group-id
function implements this overriding.
Return the (Sawfish) group ID for window. This is, in order of preference:
- The group ID assigned by Sawfish
- The group ID passed in by ICCCM.
- The corresponding values for an owning window, if the given window is transient.
- The window's own window ID.
This means that a window is, at the very least, part of its own group.
Each of the following functions operates on the “actual group ID” as returned by the above function.
Return the list of windows in the group with id group-id. If by-depth is non-nil, then return the windows in order of stacking, from topmost to bottommost.
Return the list of windows in the same group as window w. If by-depth is non-nil, then return the windows in order of stacking, from topmost to bottommost.
Map the single argument function fun over all windows in the same group as window w. Note that fun needs to operate using side-effects, rather than returning values.