Don't allow turning off the border while shaded.
svn path=/trunk/kdebase/kwin/; revision=256709
This commit is contained in:
parent
30d013ce07
commit
e85dae70f5
1 changed files with 1 additions and 1 deletions
|
@ -379,7 +379,7 @@ bool Client::noBorder() const
|
||||||
|
|
||||||
bool Client::userCanSetNoBorder() const
|
bool Client::userCanSetNoBorder() const
|
||||||
{
|
{
|
||||||
return !noborder && !isFullScreen();
|
return !noborder && !isFullScreen() && !isShade();
|
||||||
}
|
}
|
||||||
|
|
||||||
bool Client::isUserNoBorder() const
|
bool Client::isUserNoBorder() const
|
||||||
|
|
Loading…
Reference in a new issue