Skip to content

馃崚 layershellv1window: Check isDeleted before activating it

Kai Uwe Broulik requested to merge work/cherry-pick-75935c12 into Plasma/5.27

Opening the user actions menu causes auto-hiding layer-shell windows (such as Kickoff, KRunner) to hide, closing the menu and having KWin transfer focus back to the window which is now half-destroyed.

XdgToplevelWindow::acceptsFocus() also checks for isDeleted().

(cherry picked from commit 75935c12)

Merge request reports