diff options
Diffstat (limited to 'src/Window.cc')
-rw-r--r-- | src/Window.cc | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/src/Window.cc b/src/Window.cc index 825c050..defa6cc 100644 --- a/src/Window.cc +++ b/src/Window.cc | |||
@@ -1697,15 +1697,10 @@ void FluxboxWindow::tempRaise() { | |||
1697 | } | 1697 | } |
1698 | 1698 | ||
1699 | 1699 | ||
1700 | void FluxboxWindow::raiseLayer() { | 1700 | void FluxboxWindow::changeLayer(int diff) { |
1701 | moveToLayer(m_state.layernum-1); | 1701 | moveToLayer(m_state.layernum+diff); |
1702 | } | 1702 | } |
1703 | 1703 | ||
1704 | void FluxboxWindow::lowerLayer() { | ||
1705 | moveToLayer(m_state.layernum+1); | ||
1706 | } | ||
1707 | |||
1708 | |||
1709 | void FluxboxWindow::moveToLayer(int layernum, bool force) { | 1704 | void FluxboxWindow::moveToLayer(int layernum, bool force) { |
1710 | #ifdef DEBUG | 1705 | #ifdef DEBUG |
1711 | cerr<<"FluxboxWindow("<<title()<<")::moveToLayer("<<layernum<<")"<<endl; | 1706 | cerr<<"FluxboxWindow("<<title()<<")::moveToLayer("<<layernum<<")"<<endl; |