all repos — fluxbox @ 0951134cedd15e456e638b029497669c51bd36a7

custom fork of the fluxbox windowmanager

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
Thomas Lübking thomas.luebking@gmail.com
commit

0951134cedd15e456e638b029497669c51bd36a7

parent

666e7b0337220d781a1b0bbbb0e33b0212025752

1 files changed, 2 insertions(+), 1 deletions(-)

jump to
M src/Window.ccsrc/Window.cc

@@ -1495,7 +1495,8 @@ (foc->winClient().isTransient() &&

foc->winClient().transientFor()->fbwindow() == this)) { moveToLayer(::ResourceLayer::ABOVE_DOCK); } else { - moveToLayer(::ResourceLayer::DESKTOP); + moveToLayer(foc->layerNum()); + foc->raise(); } stateSig().emit(*this);