diff options
author | Erkin Bahceci <erkinbah@gmail.com> | 2009-08-23 13:02:02 -0500 |
---|---|---|
committer | Erkin Bahceci <erkinbah@gmail.com> | 2009-08-23 13:02:02 -0500 |
commit | 9f15577a460c67532e5277bfade3c91ed4176b50 (patch) | |
tree | 86b06deb6d11a819cb2b452243f7c6b70ff8a9f9 /src | |
parent | 89989e50d43d06b1394a44e76b7d5cc15f75fba2 (diff) | |
download | zcomp-9f15577a460c67532e5277bfade3c91ed4176b50.tar.gz zcomp-9f15577a460c67532e5277bfade3c91ed4176b50.tar.bz2 |
Let windows be opened above fullscreen windows.
Diffstat (limited to 'src')
-rw-r--r-- | src/window.cpp | 7 |
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 && |