Don't show the resize cursor inside windows.

svn path=/trunk/kdebase/kwin/; revision=206454
This commit is contained in:
Luboš Luňák 2003-02-12 10:06:57 +00:00
parent b93157d70e
commit 31a47d9819

View file

@ -276,12 +276,15 @@ WebClient::mousePosition(const QPoint & p) const
#endif #endif
return Client::Center; return Client::Center;
} }
else if (y < height() - 20) else if (y < height() - 4)
{ {
if (x < 4) if (x < 4)
return Client::Left; return Client::Left;
else else
return Client::Right; if (x > width() - 4)
return Client::Right;
else
return Client::Center;
} }
else else
{ {