aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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 }