Implement _NET_WM_MOVERESIZECANCEL.
svn path=/trunk/KDE/kdebase/workspace/; revision=494911
This commit is contained in:
parent
bbd5333e93
commit
f383444490
1 changed files with 6 additions and 0 deletions
|
@ -1471,6 +1471,12 @@ void Client::NETMoveResize( int x_root, int y_root, NET::Direction direction )
|
||||||
{
|
{
|
||||||
if( direction == NET::Move )
|
if( direction == NET::Move )
|
||||||
performMouseCommand( Options::MouseMove, QPoint( x_root, y_root ));
|
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 )
|
else if( direction >= NET::TopLeft && direction <= NET::Left )
|
||||||
{
|
{
|
||||||
static const Position convert[] =
|
static const Position convert[] =
|
||||||
|
|
Loading…
Reference in a new issue