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
1 files changed,
2 insertions(+),
1 deletions(-)
jump to
M
src/Window.cc
→
src/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);