diff options
Diffstat (limited to 'kwin/client.cpp')
-rw-r--r-- | kwin/client.cpp | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/kwin/client.cpp b/kwin/client.cpp index 114300821..0a7f71526 100644 --- a/kwin/client.cpp +++ b/kwin/client.cpp @@ -610,7 +610,7 @@ void Client::hideClient( bool hide ) updateVisibility(); } -/* +/*! Returns whether the window is minimizable or not */ bool Client::isMinimizable() const @@ -644,6 +644,16 @@ bool Client::isMinimizable() const } /*! + Returns whether the window is kept above or not + */ +bool Client::keepAbove() const + { + if( isModalSystemNotification()) + return true; + return keep_above; + } + +/*! Minimizes this client plus its transients */ void Client::minimize( bool avoid_animation ) |