diff options
author | fluxgen <fluxgen> | 2002-11-27 12:30:38 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2002-11-27 12:30:38 (GMT) |
commit | 256b12aa35c0e7b59520c3a6c22632bc35838e65 (patch) | |
tree | e0777d4b472762b08aa6015b9efa9f182f7ea022 | |
parent | 06ad66a21153adaf7a8c117106c066e58caa4a8a (diff) | |
download | fluxbox_paul-256b12aa35c0e7b59520c3a6c22632bc35838e65.zip fluxbox_paul-256b12aa35c0e7b59520c3a6c22632bc35838e65.tar.bz2 |
updated from cleaning in Toolbar
-rw-r--r-- | src/Slit.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/Slit.cc b/src/Slit.cc index 393cb9a..c4e4e7c 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.26 2002/11/15 12:31:58 fluxgen Exp $ | 25 | // $Id: Slit.cc,v 1.27 2002/11/27 12:30:38 fluxgen Exp $ |
26 | 26 | ||
27 | //use GNU extensions | 27 | //use GNU extensions |
28 | #ifndef _GNU_SOURCE | 28 | #ifndef _GNU_SOURCE |
@@ -650,15 +650,15 @@ void Slit::reposition() { | |||
650 | if (tbar->x() < frame.x + sw && tbar->x() + tw > frame.x && | 650 | if (tbar->x() < frame.x + sw && tbar->x() + tw > frame.x && |
651 | tbar->y() < frame.y + sh && tbar->y() + th > frame.y) { | 651 | tbar->y() < frame.y + sh && tbar->y() + th > frame.y) { |
652 | if (frame.y < th) { | 652 | if (frame.y < th) { |
653 | frame.y += tbar->getExposedHeight(); | 653 | frame.y += tbar->exposedHeight(); |
654 | if (screen()->getSlitDirection() == VERTICAL) | 654 | if (screen()->getSlitDirection() == VERTICAL) |
655 | frame.y_hidden += tbar->getExposedHeight(); | 655 | frame.y_hidden += tbar->exposedHeight(); |
656 | else | 656 | else |
657 | frame.y_hidden = frame.y; | 657 | frame.y_hidden = frame.y; |
658 | } else { | 658 | } else { |
659 | frame.y -= tbar->getExposedHeight(); | 659 | frame.y -= tbar->exposedHeight(); |
660 | if (screen()->getSlitDirection() == VERTICAL) | 660 | if (screen()->getSlitDirection() == VERTICAL) |
661 | frame.y_hidden -= tbar->getExposedHeight(); | 661 | frame.y_hidden -= tbar->exposedHeight(); |
662 | else | 662 | else |
663 | frame.y_hidden = frame.y; | 663 | frame.y_hidden = frame.y; |
664 | } | 664 | } |