diff options
author | markt <markt> | 2006-12-22 05:44:42 (GMT) |
---|---|---|
committer | markt <markt> | 2006-12-22 05:44:42 (GMT) |
commit | 9d1447b0d5711168486932c8bd86ad92b194ac99 (patch) | |
tree | e194b71f73a0a4528dff0ad035f077a34d37728b /src/FbTk/XLayer.cc | |
parent | 17a92c3253e62798aa7efcb95b4d0bdd1ac29dcd (diff) | |
download | fluxbox-9d1447b0d5711168486932c8bd86ad92b194ac99.zip fluxbox-9d1447b0d5711168486932c8bd86ad92b194ac99.tar.bz2 |
more dead functions
Diffstat (limited to 'src/FbTk/XLayer.cc')
-rw-r--r-- | src/FbTk/XLayer.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/FbTk/XLayer.cc b/src/FbTk/XLayer.cc index f7eda8c..0341563 100644 --- a/src/FbTk/XLayer.cc +++ b/src/FbTk/XLayer.cc | |||
@@ -190,6 +190,7 @@ void XLayer::remove(XLayerItem &item) { | |||
190 | } | 190 | } |
191 | } | 191 | } |
192 | 192 | ||
193 | #ifdef NOT_USED | ||
193 | void XLayer::cycleUp() { | 194 | void XLayer::cycleUp() { |
194 | // need to find highest visible window, and move it to bottom | 195 | // need to find highest visible window, and move it to bottom |
195 | iterator it = itemList().begin(); | 196 | iterator it = itemList().begin(); |
@@ -265,8 +266,7 @@ void XLayer::stepDown(XLayerItem &item) { | |||
265 | return; // nothing to do | 266 | return; // nothing to do |
266 | 267 | ||
267 | // get our position | 268 | // get our position |
268 | iterator myit = find(itemList().begin(), itemList().end(), &item); | 269 | iterator it = find(itemList().begin(), itemList().end(), &item); |
269 | iterator it = myit; | ||
270 | 270 | ||
271 | // go one below it (top is front, so we must increment) | 271 | // go one below it (top is front, so we must increment) |
272 | it++; | 272 | it++; |
@@ -282,6 +282,7 @@ void XLayer::stepDown(XLayerItem &item) { | |||
282 | stackBelowItem(&item, *it); | 282 | stackBelowItem(&item, *it); |
283 | // if we did reach the end, then there are no visible windows, so we don't do anything | 283 | // if we did reach the end, then there are no visible windows, so we don't do anything |
284 | } | 284 | } |
285 | #endif // NOT_USED | ||
285 | 286 | ||
286 | void XLayer::raise(XLayerItem &item) { | 287 | void XLayer::raise(XLayerItem &item) { |
287 | // assume it is already in this layer | 288 | // assume it is already in this layer |