Skip to content

layershellv1window: Check isDeleted before activating it

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().


Can no longer crash my KWin by pressing Alt+F3 with KRunner or Kickoff having focus.

The window and user actions menu both still just disappear but it’s better than crashing.

5.27, too?

Edited by Kai Uwe Broulik

Merge request reports