Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pointer surface focus not checked before button press #8146

Open
chrisduerr opened this issue May 3, 2024 · 0 comments
Open

Pointer surface focus not checked before button press #8146

chrisduerr opened this issue May 3, 2024 · 0 comments
Labels
bug Not working as intended

Comments

@chrisduerr
Copy link

When opening a new subsurface under the mouse pointer, wl_pointer::enter is not sent until after the mouse is moved over the window or a button is pressed. As a result, the first button press still goes through the subsurface under the cursor to the previously focused surface.

A video should make the usecase behind this a little more clear:

tmp.mp4

While the pointer button presses aren't shown in the video, you can see that the two buttons overlap exactly while being on two different subsurfaces. Ideally quickly "spamming" left click should cause the browser to open a lot of tabs, however every time the focus switches between the subsurfaces the first button press is ignored.

@chrisduerr chrisduerr added the bug Not working as intended label May 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Not working as intended
Development

No branches or pull requests

1 participant