Don't allow turning off the border while shaded.

svn path=/trunk/kdebase/kwin/; revision=256709
This commit is contained in:
Luboš Luňák 2003-10-06 11:31:43 +00:00
parent 30d013ce07
commit e85dae70f5

View file

@ -379,7 +379,7 @@ bool Client::noBorder() const
bool Client::userCanSetNoBorder() const
{
return !noborder && !isFullScreen();
return !noborder && !isFullScreen() && !isShade();
}
bool Client::isUserNoBorder() const