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.
We also get rid of the warning message: This plugin supports grabbing the mouse only for popup windows
messages when trying to grab the mouse.
BUG: 374971
FIXED-IN: 5.93.0
Edited by Ismael Asensio