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
This commit is contained in:
parent
666e7b0337
commit
0951134ced
1 changed files with 2 additions and 1 deletions
|
@ -1495,7 +1495,8 @@ void FluxboxWindow::setFullscreenLayer() {
|
|||
foc->winClient().transientFor()->fbwindow() == this)) {
|
||||
moveToLayer(::ResourceLayer::ABOVE_DOCK);
|
||||
} else {
|
||||
moveToLayer(::ResourceLayer::DESKTOP);
|
||||
moveToLayer(foc->layerNum());
|
||||
foc->raise();
|
||||
}
|
||||
stateSig().emit(*this);
|
||||
|
||||
|
|
Loading…
Reference in a new issue