https://bugs.kde.org/show_bug.cgi?id=490057

--- Comment #8 from Jonathan Cox <joncox1...@gmail.com> ---
(In reply to Vlad Zahorodnii from comment #7)
> The issue is linked to allowing X11 clients sniff keyboard events. If you
> set the keyboard sniffing policy to "Never", the issue doesn't occur.

Of course, but those of us with it on are using push to talk and similar
functionality. 

> With the keyboard sniffing policy set to "Never", the X11 client will
> receive no button press event after switching between virtual desktops.

This is true, I was suggesting that perhaps the buttons being sent contribute
to the focus stealing, perhaps some buttons are being sent that are not
actually being used by users for this functionality. 

> With any other keyboard sniffing policy, the X11 client will receive a
> button press event. Most toolkits attempt to activate themselves after
> receiving a button press event. So what happens is that the x11 client
> receives a button press event, it asks kwin to activate its window, since
> the event has a valid timestamp and things as such, the activation request
> should succeed. As the result, the window will also be raised.
> 
> Not sure if it's an Xwayland bug.

Do ALL buttons being sent to an app raise focus? Is it only a few buttons like
Left, Right Mouse that do this?

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to