[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdebase/kicker/kicker/core
From:       Aaron J. Seigo <aseigo () kde ! org>
Date:       2005-08-13 20:38:30
Message-ID: 1123965510.699753.1021.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 448988 by aseigo:

use the correct enums


 M  +4 -4      container_extension.cpp  


--- trunk/KDE/kdebase/kicker/kicker/core/container_extension.cpp #448987:448988
@@ -632,19 +632,19 @@
     if (((tr == Plasma::TopEdge ||
           tr == Plasma::TopLeftEdge ||
           tr == Plasma::TopRightEdge) &&
-         position() == Plasma::TopEdge && x >= l && x <= r) ||
+         position() == Plasma::Top && x >= l && x <= r) ||
         ((tr == Plasma::LeftEdge ||
           tr == Plasma::TopLeftEdge ||
           tr == Plasma::BottomLeftEdge) &&
-         position() == Plasma::LeftEdge && y >= t && y <= b) ||
+         position() == Plasma::Left && y >= t && y <= b) ||
         ((tr == Plasma::BottomEdge ||
           tr == Plasma::BottomLeftEdge ||
           tr == Plasma::BottomRightEdge) &&
-         position() == Plasma::BottomEdge && x >= l && x <= r ) ||
+         position() == Plasma::Bottom && x >= l && x <= r ) ||
         ((tr == Plasma::RightEdge ||
           tr == Plasma::TopRightEdge ||
           tr == Plasma::BottomRightEdge) &&
-         position() == Plasma::RightEdge && y >= t && y <= b ))
+         position() == Plasma::Right && y >= t && y <= b ))
     {
         UnhideTrigger::the()->triggerAccepted(tr, XineramaScreen);
 
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic