rework lowering after the recent changes to the raising
commit2a33e769ece94ca4a8ea3b999bda4bdc5de44a8b
authorbradleyhughes <bradleyhughes>
Mon, 10 Jan 2005 16:45:28 +0000 (10 16:45 +0000)
committerbradleyhughes <bradleyhughes>
Mon, 10 Jan 2005 16:45:28 +0000 (10 16:45 +0000)
tree7996f28da033228e909f4c9996ff2ada35ac1b13
parent538444ff74fea43cd791b106b55c50d66a9957df
rework lowering after the recent changes to the raising
code... lowering is less complicated than raise.  when lowering we do
one of the following:

1. if the window is in a group, we lower the entire group in the
current stacking order

2. otherwise, if the window has transients, we lower the window and
all of its transients in the current stacking order

3. otherwise, we simply lower the single window

this differs slightly from raise, which first works on the
group/transient-tree and then raises the target window in the
group/transient-tree... lower doesn't act on the target window, it
merely does the action on the group/transient-tree
src/Screen.cc
src/Screen.hh