aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk/XLayer.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/FbTk/XLayer.cc')
-rw-r--r--src/FbTk/XLayer.cc5
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
193void XLayer::cycleUp() { 194void 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
286void XLayer::raise(XLayerItem &item) { 287void XLayer::raise(XLayerItem &item) {
287 // assume it is already in this layer 288 // assume it is already in this layer