aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Lübking <thomas.luebking@gmail.com>2013-01-26 21:22:57 (GMT)
committerThomas Lübking <thomas.luebking@gmail.com>2013-01-30 12:33:58 (GMT)
commite8fb7cd14fd7db3fc18afad1bab5f98f6de9f44b (patch)
tree8439eed62b1373140a411a5a589e6950d572e138
parent04da3659c7abbeb638cc63022e2a903e12410be9 (diff)
don't shortcut Above restacks
just because we're above the sibling. There could be another sibling to get below. BUG: 313909 REVIEW: 108609 FIXED-IN: 4.11
-rw-r--r--kwin/layers.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/kwin/layers.cpp b/kwin/layers.cpp
index 78f07eb..05b3d6d 100644
--- a/kwin/layers.cpp
+++ b/kwin/layers.cpp
@@ -756,8 +756,6 @@ void Client::restackWindow(Window above, int detail, NET::RequestSource src, Tim
ToplevelList::const_iterator it = workspace()->stackingOrder().constEnd(),
begin = workspace()->stackingOrder().constBegin();
while (--it != begin) {
- if (*it == this)
- return; // we're already above
if (*it == other) { // the other one is top on stack
it = begin; // invalidate