aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThomas Lübking <thomas.luebking@gmail.com>2016-06-27 22:27:57 (GMT)
committerMathias Gumz <akira@fluxbox.org>2016-07-01 17:40:55 (GMT)
commit0951134cedd15e456e638b029497669c51bd36a7 (patch)
tree387e838809987e059ec966901d8357640f1d49d7 /src
parent666e7b0337220d781a1b0bbbb0e33b0212025752 (diff)
downloadfluxbox-0951134cedd15e456e638b029497669c51bd36a7.zip
fluxbox-0951134cedd15e456e638b029497669c51bd36a7.tar.bz2
do not move unfocused windows to the desktop layer
While usually™ the window is just reset to its original layer, ensuring to show the active window is certainly a good idea, but it's not required to lower the fullscreen window to the desktop layer, the other windows layer + an extra raise is entirely sufficient and it's rather odd to see conky when activating a utility window to a video player ;-) CCBUG: 894
Diffstat (limited to 'src')
-rw-r--r--src/Window.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Window.cc b/src/Window.cc
index a053f1a..51f5d44 100644
--- a/src/Window.cc
+++ b/src/Window.cc
@@ -1495,7 +1495,8 @@ void FluxboxWindow::setFullscreenLayer() {
1495 foc->winClient().transientFor()->fbwindow() == this)) { 1495 foc->winClient().transientFor()->fbwindow() == this)) {
1496 moveToLayer(::ResourceLayer::ABOVE_DOCK); 1496 moveToLayer(::ResourceLayer::ABOVE_DOCK);
1497 } else { 1497 } else {
1498 moveToLayer(::ResourceLayer::DESKTOP); 1498 moveToLayer(foc->layerNum());
1499 foc->raise();
1499 } 1500 }
1500 stateSig().emit(*this); 1501 stateSig().emit(*this);
1501 1502