Forbid activating override redirect windows

BUG: 486026
This commit is contained in:
Vlad Zahorodnii 2024-05-29 12:52:17 +03:00
parent ce57af62ec
commit 64ddeff3bd

View file

@ -292,7 +292,7 @@ void Workspace::activateWindow(Window *window, bool force)
setActiveWindow(nullptr); setActiveWindow(nullptr);
return; return;
} }
if (window->isDeleted()) { if (!window->isClient() || window->isDeleted()) {
return; return;
} }
if (window->isHiddenByShowDesktop()) { if (window->isHiddenByShowDesktop()) {