fixed a problem in KeramikClient::mousePosition
svn path=/trunk/kdebase/kwin/; revision=255907
This commit is contained in:
parent
5e32acc176
commit
bde8e27f21
1 changed files with 1 additions and 1 deletions
|
@ -1506,7 +1506,7 @@ KeramikClient::MousePosition KeramikClient::mousePosition( const QPoint &p ) con
|
|||
int leftBorder = clientHandler->tile( BorderLeft, true )->width();
|
||||
int rightBorder = width() - clientHandler->tile( BorderRight, true )->width() - 1;
|
||||
int bottomBorder = height() - clientHandler->grabBarHeight() - 1;
|
||||
int bottomCornerSize = 3*rightBorder/2 + 24;
|
||||
int bottomCornerSize = 3*clientHandler->tile( BorderRight, true )->width()/2 + 24;
|
||||
|
||||
// Test if the mouse is over the titlebar area
|
||||
if ( p.y() < titleBaseY + 11 ) {
|
||||
|
|
Loading…
Reference in a new issue