changed default placement
This commit is contained in:
parent
e565603f46
commit
50d8c9a8a1
1 changed files with 3 additions and 2 deletions
|
@ -22,7 +22,7 @@
|
||||||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||||
// DEALINGS IN THE SOFTWARE.
|
// DEALINGS IN THE SOFTWARE.
|
||||||
|
|
||||||
// $Id: Slit.cc,v 1.36 2003/02/20 16:41:22 fluxgen Exp $
|
// $Id: Slit.cc,v 1.37 2003/02/23 00:54:13 fluxgen Exp $
|
||||||
|
|
||||||
#include "Slit.hh"
|
#include "Slit.hh"
|
||||||
|
|
||||||
|
@ -177,6 +177,7 @@ public:
|
||||||
void click(int button, int time) {
|
void click(int button, int time) {
|
||||||
m_client.visible = !m_client.visible;
|
m_client.visible = !m_client.visible;
|
||||||
FbTk::MenuItem::click(button, time);
|
FbTk::MenuItem::click(button, time);
|
||||||
|
Fluxbox::instance()->save_rc();
|
||||||
}
|
}
|
||||||
private:
|
private:
|
||||||
SlitClient &m_client;
|
SlitClient &m_client;
|
||||||
|
@ -257,7 +258,7 @@ Slit::Slit(BScreen &scr, FbTk::XLayer &layer, const char *filename)
|
||||||
|
|
||||||
// default placement and direction
|
// default placement and direction
|
||||||
m_direction = HORIZONTAL;
|
m_direction = HORIZONTAL;
|
||||||
m_placement = TOPLEFT;
|
m_placement = BOTTOMRIGHT;
|
||||||
hidden = do_auto_hide = false;
|
hidden = do_auto_hide = false;
|
||||||
|
|
||||||
frame.pixmap = None;
|
frame.pixmap = None;
|
||||||
|
|
Loading…
Reference in a new issue