[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdebase/kwin/clients/b2
From: Luciano Montanaro <mikelima () virgilio ! it>
Date: 2003-10-19 9:16:12
[Download RAW message or body]
CVS commit by montanaro:
Enabled titlebar dragging by shift-clicking it.
Still missing is the automatic titlebar unhiding.
M +3 -5 b2client.cpp 1.53
M +0 -2 b2client.h 1.30
--- kdebase/kwin/clients/b2/b2client.cpp #1.52:1.53
@@ -1212,5 +1212,4 @@ void B2Titlebar::mouseDoubleClickEvent(
}
-#if 0
void B2Titlebar::mousePressEvent( QMouseEvent * e )
{
@@ -1220,5 +1219,4 @@ void B2Titlebar::mousePressEvent( QMouse
} else {
client->processMousePressEvent(e);
- // client->performWindowOperation(KDecoration::MoveOp);
}
}
@@ -1238,10 +1236,10 @@ void B2Titlebar::mouseMoveEvent( QMouseE
client->titleMoveRel(xdiff);
}
+ } else {
+ e->ignore();
}
}
-#endif
-
-}
+} // namespace B2
#include "b2client.moc"
--- kdebase/kwin/clients/b2/b2client.h #1.29:1.30
@@ -69,9 +69,7 @@ protected:
bool x11Event(XEvent *e);
void mouseDoubleClickEvent( QMouseEvent * );
-#if 0
void mousePressEvent( QMouseEvent * );
void mouseReleaseEvent( QMouseEvent * );
void mouseMoveEvent(QMouseEvent *);
-#endif
void resizeEvent(QResizeEvent *ev);
private:
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic