I committed too hastily. This patche is the good one!
svn path=/trunk/kdebase/kwin/; revision=260080
This commit is contained in:
parent
eaeb27fd13
commit
c47d64a4cc
1 changed files with 3 additions and 2 deletions
|
@ -1217,13 +1217,14 @@ void B2Titlebar::mousePressEvent( QMouseEvent * e )
|
||||||
if (shift_move) {
|
if (shift_move) {
|
||||||
moveOffset = e->globalPos();
|
moveOffset = e->globalPos();
|
||||||
} else {
|
} else {
|
||||||
client->processMousePressEvent(e);
|
e->ignore();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void B2Titlebar::mouseReleaseEvent( QMouseEvent * e )
|
void B2Titlebar::mouseReleaseEvent( QMouseEvent * e )
|
||||||
{
|
{
|
||||||
shift_move = false;
|
if (shift_move) shift_move = false;
|
||||||
|
else e->ignore();
|
||||||
}
|
}
|
||||||
|
|
||||||
void B2Titlebar::mouseMoveEvent( QMouseEvent * e )
|
void B2Titlebar::mouseMoveEvent( QMouseEvent * e )
|
||||||
|
|
Loading…
Reference in a new issue