Implement _NET_WM_MOVERESIZECANCEL.

svn path=/trunk/KDE/kdebase/workspace/; revision=494911
This commit is contained in:
Luboš Luňák 2006-01-06 15:20:46 +00:00
parent bbd5333e93
commit f383444490

View file

@ -1471,6 +1471,12 @@ void Client::NETMoveResize( int x_root, int y_root, NET::Direction direction )
{
if( direction == NET::Move )
performMouseCommand( Options::MouseMove, QPoint( x_root, y_root ));
else if( moveResizeMode && direction == NET::MoveResizeCancel)
{
finishMoveResize( true );
buttonDown = FALSE;
setCursor( mode );
}
else if( direction >= NET::TopLeft && direction <= NET::Left )
{
static const Position convert[] =