summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorErkin Bahceci <erkinbah@gmail.com>2009-08-23 13:02:02 -0500
committerErkin Bahceci <erkinbah@gmail.com>2009-08-23 13:02:02 -0500
commit9f15577a460c67532e5277bfade3c91ed4176b50 (patch)
tree86b06deb6d11a819cb2b452243f7c6b70ff8a9f9 /src
parent89989e50d43d06b1394a44e76b7d5cc15f75fba2 (diff)
downloadzcomp-9f15577a460c67532e5277bfade3c91ed4176b50.tar.gz
zcomp-9f15577a460c67532e5277bfade3c91ed4176b50.tar.bz2
Let windows be opened above fullscreen windows.
Diffstat (limited to 'src')
-rw-r--r--src/window.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/window.cpp b/src/window.cpp
index e70ea23..96ec7f9 100644
--- a/src/window.cpp
+++ b/src/window.cpp
@@ -3100,13 +3100,16 @@ CompWindow::updateAttributes (CompStackingUpdateMode stackingMode)
{
/* put active or soon-to-be-active fullscreen windows over
all others in their layer */
- if (priv->id == screen->activeWindow () ||
- stackingMode == CompStackingUpdateModeInitialMap)
+ if (priv->id == screen->activeWindow ())
{
aboveFs = true;
}
}
+ /* put windows that are just mapped, over fullscreen windows */
+ if (stackingMode == CompStackingUpdateModeInitialMap)
+ aboveFs = true;
+
sibling = PrivateWindow::findSiblingBelow (this, aboveFs);
if (sibling &&