Skip to content

馃崚kcms/tabbox: Fix tabbox preview not getting dismissed

Ismael Asensio requested to merge work/cherry-pick-b08a4a18 into Plasma/6.0

On X11 we would dismiss the tabbox preview when clicking outside of the switcher. This doesn't work on Wayland because the popup cannot globally grab the mouse and doesn't get notified.

Use QEvent::FocusOut instead which works on both platforms.

We also get rid of a warning message.

BUG: 374971 FIXED-IN: 5.93.0

(cherry picked from commit b08a4a18)

Merge request reports

Loading