aboutsummaryrefslogtreecommitdiff
path: root/src/Slit.hh
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/Slit.hh
parentb47337fca633bac22443b2a156a755e45971f6f0 (diff)
downloadfluxbox-06e830812e143c6fbf6838bc222ba6171f1a64e7.zip
fluxbox-06e830812e143c6fbf6838bc222ba6171f1a64e7.tar.bz2
fix saving of toolbar + slit layers - simon
Diffstat (limited to 'src/Slit.hh')
-rw-r--r--src/Slit.hh7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/Slit.hh b/src/Slit.hh
index 5bb6aa9..fec338d 100644
--- a/src/Slit.hh
+++ b/src/Slit.hh
@@ -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: Slit.hh,v 1.20 2003/02/20 16:38:17 fluxgen Exp $ 25/// $Id: Slit.hh,v 1.21 2003/04/16 13:43:44 rathnor Exp $
26 26
27#ifndef SLIT_HH 27#ifndef SLIT_HH
28#define SLIT_HH 28#define SLIT_HH
@@ -32,6 +32,8 @@
32#include "Timer.hh" 32#include "Timer.hh"
33#include "XLayerItem.hh" 33#include "XLayerItem.hh"
34#include "LayerMenu.hh" 34#include "LayerMenu.hh"
35#include "fluxbox.hh"
36#include "Screen.hh"
35 37
36#include <X11/Xlib.h> 38#include <X11/Xlib.h>
37#include <X11/Xutil.h> 39#include <X11/Xutil.h>
@@ -40,7 +42,6 @@
40#include <string> 42#include <string>
41#include <memory> 43#include <memory>
42 44
43class BScreen;
44class SlitClient; 45class SlitClient;
45 46
46/// Handles dock apps 47/// Handles dock apps
@@ -102,7 +103,7 @@ public:
102 void configureRequestEvent(XConfigureRequestEvent &event); 103 void configureRequestEvent(XConfigureRequestEvent &event);
103 //@} 104 //@}
104 105
105 void moveToLayer(int layernum) { m_layeritem->moveToLayer(layernum); } 106 void moveToLayer(int layernum) { m_layeritem->moveToLayer(layernum); m_screen.saveSlitLayer((Fluxbox::Layer) layernum); }
106 FbTk::XLayerItem &getLayerItem() { return *m_layeritem; } 107 FbTk::XLayerItem &getLayerItem() { return *m_layeritem; }
107 108
108 virtual void timeout(); 109 virtual void timeout();