diff options
| author | Dana Jansens <danakj@orodu.net> | 2002-04-17 03:44:09 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2002-04-17 03:44:09 +0000 |
| commit | 66c879bd5c0c9f668096f620007388ef347becd0 (patch) | |
| tree | 1b6e92ac90084838ce7d20b5e190facd25fbb1b4 /src/Window.cc | |
| parent | 73a3c979b39ae0b51298d16bc5e76b61d31c89d5 (diff) | |
Toolbar saves its settings as their changed
Main config's Hide Toolbar option is also saved when it is changed
Removed 2 debug couts from Slit
Diffstat (limited to 'src/Window.cc')
| -rw-r--r-- | src/Window.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Window.cc b/src/Window.cc index 458104cb..da4d6437 100644 --- a/src/Window.cc +++ b/src/Window.cc @@ -1579,7 +1579,7 @@ void OpenboxWindow::maximize(unsigned int button) { dy += (((screen->size().h() - screen->getToolbar()->getExposedHeight()) - dh) / 2) - frame.border_w; - switch (screen->getToolbarPlacement()) { + switch (screen->getToolbar()->placement()) { case Toolbar::TopLeft: case Toolbar::TopCenter: case Toolbar::TopRight: @@ -2817,7 +2817,7 @@ void OpenboxWindow::motionNotifyEvent(XMotionEvent *me) { dx = screen->size().w() - snap_w; int dtty, dbby, dty, dby; - switch (screen->getToolbarPlacement()) { + switch (screen->getToolbar()->placement()) { case Toolbar::TopLeft: case Toolbar::TopCenter: case Toolbar::TopRight: |
