Oops, I broke cancelling fullscreen from Alt+F3.
svn path=/trunk/kdebase/kwin/; revision=286754
This commit is contained in:
parent
ef5340d6b9
commit
0a283ed773
1 changed files with 2 additions and 1 deletions
|
@ -1404,7 +1404,8 @@ bool Client::isFullScreenable( bool fullscreen_hack ) const
|
||||||
|
|
||||||
bool Client::userCanSetFullScreen() const
|
bool Client::userCanSetFullScreen() const
|
||||||
{
|
{
|
||||||
return isNormalWindow() && fullscreen_mode != FullScreenHack && isMaximizable();
|
return isNormalWindow() && fullscreen_mode != FullScreenHack
|
||||||
|
&& ( isMaximizable() || isFullScreen()); // isMaximizable() is false for isFullScreen()
|
||||||
}
|
}
|
||||||
|
|
||||||
void Client::setFullScreen( bool set, bool user )
|
void Client::setFullScreen( bool set, bool user )
|
||||||
|
|
Loading…
Reference in a new issue