Skip to content

effect: Refuse starting quick effect if keyboard cannot be grabbed

Vlad Zahorodnii requested to merge work/cherry-pick-95611189 into Plasma/6.1

If effects->grabKeyboard() fails and effects->ungrabKeyboard() is called later, kwin will crash due to an assert in the ungrabKeyboard() function.

This matters only on X11.

(cherry picked from commit 95611189)

Co-authored-by: Vlad Zahorodnii vlad.zahorodnii@kde.org

Merge request reports