aboutsummaryrefslogtreecommitdiff
path: root/src/Toolbar.cc
diff options
context:
space:
mode:
authorrathnor <rathnor>2003-04-16 13:43:50 (GMT)
committerrathnor <rathnor>2003-04-16 13:43:50 (GMT)
commit06e830812e143c6fbf6838bc222ba6171f1a64e7 (patch)
tree55d92a3624bd8047b52f1e0693658e932a0c029c /src/Toolbar.cc
parentb47337fca633bac22443b2a156a755e45971f6f0 (diff)
downloadfluxbox-06e830812e143c6fbf6838bc222ba6171f1a64e7.zip
fluxbox-06e830812e143c6fbf6838bc222ba6171f1a64e7.tar.bz2
fix saving of toolbar + slit layers - simon
Diffstat (limited to 'src/Toolbar.cc')
-rw-r--r--src/Toolbar.cc10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/Toolbar.cc b/src/Toolbar.cc
index 3efcabd..6471804 100644
--- a/src/Toolbar.cc
+++ b/src/Toolbar.cc
@@ -22,7 +22,7 @@
22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
23// DEALINGS IN THE SOFTWARE. 23// DEALINGS IN THE SOFTWARE.
24 24
25// $Id: Toolbar.cc,v 1.71 2003/04/16 12:53:14 fluxgen Exp $ 25// $Id: Toolbar.cc,v 1.72 2003/04/16 13:43:44 rathnor Exp $
26 26
27#include "Toolbar.hh" 27#include "Toolbar.hh"
28 28
@@ -256,7 +256,8 @@ Toolbar::Toolbar(BScreen &scrn, FbTk::XLayer &layer, FbTk::Menu &menu, size_t wi
256 scrn.getScreenNumber(), 256 scrn.getScreenNumber(),
257 *scrn.getImageControl(), 257 *scrn.getImageControl(),
258 *scrn.layerManager().getLayer(Fluxbox::instance()->getMenuLayer()), 258 *scrn.layerManager().getLayer(Fluxbox::instance()->getMenuLayer()),
259 this), 259 this,
260 true),
260 m_theme(scrn.getScreenNumber()), 261 m_theme(scrn.getScreenNumber()),
261 m_place(BOTTOMCENTER), 262 m_place(BOTTOMCENTER),
262 m_themelistener(*this), 263 m_themelistener(*this),
@@ -1193,3 +1194,8 @@ void Toolbar::HideHandler::timeout() {
1193 toolbar->frame.window.move(toolbar->frame.x, toolbar->frame.y); 1194 toolbar->frame.window.move(toolbar->frame.x, toolbar->frame.y);
1194 } 1195 }
1195} 1196}
1197
1198void Toolbar::moveToLayer(int layernum) {
1199 m_layeritem.moveToLayer(layernum);
1200 m_screen.saveToolbarLayer((Fluxbox::Layer) layernum);
1201}