workspace: restrict showing windows because HideUtilityWindowsForInactive=false to actual utility windows
BUG: 413549
This commit is contained in:
parent
f6540283d5
commit
a6a85466cd
1 changed files with 2 additions and 1 deletions
|
@ -887,7 +887,8 @@ void Workspace::updateToolWindows(bool also_hide)
|
|||
if (!options->isHideUtilityWindowsForInactive()) {
|
||||
#if KWIN_BUILD_X11
|
||||
for (auto it = m_windows.constBegin(); it != m_windows.constEnd(); ++it) {
|
||||
if (X11Window *x11Window = qobject_cast<X11Window *>(*it)) {
|
||||
X11Window *x11Window = qobject_cast<X11Window *>(*it);
|
||||
if (x11Window && x11Window->isUtility()) {
|
||||
x11Window->setHidden(false);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue