Oops, I broke cancelling fullscreen from Alt+F3.

svn path=/trunk/kdebase/kwin/; revision=286754
This commit is contained in:
Luboš Luňák 2004-02-10 11:46:46 +00:00
parent ef5340d6b9
commit 0a283ed773

View file

@ -1404,7 +1404,8 @@ bool Client::isFullScreenable( bool fullscreen_hack ) 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 )