aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2002-11-27 12:30:38 (GMT)
committerfluxgen <fluxgen>2002-11-27 12:30:38 (GMT)
commit256b12aa35c0e7b59520c3a6c22632bc35838e65 (patch)
treee0777d4b472762b08aa6015b9efa9f182f7ea022 /src
parent06ad66a21153adaf7a8c117106c066e58caa4a8a (diff)
downloadfluxbox_pavel-256b12aa35c0e7b59520c3a6c22632bc35838e65.zip
fluxbox_pavel-256b12aa35c0e7b59520c3a6c22632bc35838e65.tar.bz2
updated from cleaning in Toolbar
Diffstat (limited to 'src')
-rw-r--r--src/Slit.cc10
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 }