[tabbox] prevent dangling popups when switching on Wayland
If some popups of active window present, there was glitches on switching such as stale popups or the popup happened below window. Dismissing all the popups solves the problem. BUG: 431046icc-effect-5.26.4
parent
b45f5c3a66
commit
95e954da30
|
@ -1017,6 +1017,10 @@ void TabBox::navigatingThroughWindows(bool forward, const QKeySequence &shortcut
|
|||
// CDE style raise / lower
|
||||
CDEWalkThroughWindows(forward);
|
||||
} else {
|
||||
workspace()->forEachAbstractClient([](Toplevel *toplevel) {
|
||||
if (toplevel->isPopupWindow())
|
||||
toplevel->popupDone();
|
||||
});
|
||||
if (areModKeysDepressed(shortcut)) {
|
||||
if (startKDEWalkThroughWindows(mode))
|
||||
KDEWalkThroughWindows(forward);
|
||||
|
|
Loading…
Reference in New Issue