diff options
author | fluxgen <fluxgen> | 2003-02-23 00:54:13 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2003-02-23 00:54:13 (GMT) |
commit | 50d8c9a8a166b15734c72d292938e540b44e037e (patch) | |
tree | a88f5ef332ee7cc05928f7bee28374eb0bfed57b /src | |
parent | e565603f461f3dcfa1940527b567b74667159b05 (diff) | |
download | fluxbox_paul-50d8c9a8a166b15734c72d292938e540b44e037e.zip fluxbox_paul-50d8c9a8a166b15734c72d292938e540b44e037e.tar.bz2 |
changed default placement
Diffstat (limited to 'src')
-rw-r--r-- | src/Slit.cc | 5 |
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 | } |
181 | private: | 182 | private: |
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; |