Skip to content
Commit 0dd9f0a3 authored by Ismael Asensio's avatar Ismael Asensio
Browse files

kcms/tabbox: Fix tabbox preview not getting dismissed

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)
parent df4657c9
Pipeline #581119 passed with stage
in 10 minutes and 33 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment