summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Slit.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/Slit.cc b/src/Slit.cc
index 7e5e7b8..256b415 100644
--- a/src/Slit.cc
+++ b/src/Slit.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: Slit.cc,v 1.36 2003/02/20 16:41:22 fluxgen Exp $ 25// $Id: Slit.cc,v 1.37 2003/02/23 00:54:13 fluxgen Exp $
26 26
27#include "Slit.hh" 27#include "Slit.hh"
28 28
@@ -177,6 +177,7 @@ public:
177 void click(int button, int time) { 177 void click(int button, int time) {
178 m_client.visible = !m_client.visible; 178 m_client.visible = !m_client.visible;
179 FbTk::MenuItem::click(button, time); 179 FbTk::MenuItem::click(button, time);
180 Fluxbox::instance()->save_rc();
180 } 181 }
181private: 182private:
182 SlitClient &m_client; 183 SlitClient &m_client;
@@ -257,7 +258,7 @@ Slit::Slit(BScreen &scr, FbTk::XLayer &layer, const char *filename)
257 258
258 // default placement and direction 259 // default placement and direction
259 m_direction = HORIZONTAL; 260 m_direction = HORIZONTAL;
260 m_placement = TOPLEFT; 261 m_placement = BOTTOMRIGHT;
261 hidden = do_auto_hide = false; 262 hidden = do_auto_hide = false;
262 263
263 frame.pixmap = None; 264 frame.pixmap = None;