summaryrefslogtreecommitdiffstats
path: root/kwin/client.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-09-10 22:32:00 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-09-10 22:32:00 +0000
commit1f40ada72d693d681ec6a32c2ef717e8dd73b5bb (patch)
tree54c647b881fd1f91a9cd4390237ec0a8888a8f34 /kwin/client.cpp
parent29570c5acb30252e5db7552b89150035bbdd9409 (diff)
downloadtdebase-1f40ada72d693d681ec6a32c2ef717e8dd73b5bb.tar.gz
tdebase-1f40ada72d693d681ec6a32c2ef717e8dd73b5bb.zip
Force windows with the modal system notification atom set to stay above other windows
Enhance logout sequence appearance Add remote folder synchronization on logout support Fix flickering to black window with subsequent partial repaint of certain widgets occurring during fancy logout sequence git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1252640 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kwin/client.cpp')
-rw-r--r--kwin/client.cpp12
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 )