Accept keys in windowheap conditionally

In WindowHeap we currently always accept the keyboard event regardless
of whether the event was handled.

This will allow the event to propagate to other handlers
This commit is contained in:
David Edmundson 2022-07-14 16:35:29 +01:00 committed by Vlad Zahorodnii
parent a61719ddc4
commit 9152df4b4f

View file

@ -315,6 +315,7 @@ FocusScope {
}
}
if (selectedItem) {
handled = true;
KWinComponents.Workspace.activeClient = selectedItem.client;
heap.activated();
}