// Leaving will trigger a synthesized release event on focus change.is this removed intentionally?
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
// Leaving will trigger a synthesized release event on focus change.is this removed intentionally?
Yes. I added that comment in the original CL to explain the extra event, which will no longer show up in this test.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Code-Review | +1 |
// Leaving will trigger a synthesized release event on focus change.Mitchell Cohenis this removed intentionally?
Yes. I added that comment in the original CL to explain the extra event, which will no longer show up in this test.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Code-Review | +1 |
LGTM, is the compositor sending `leave` and `enter` within the same `frame`?
Potentially an opportunity to systematically avoid it. as a rule of thumb we ought to accumulate `wl_pointer` events (motion, button, axis) as they are received and only process them as a single logical input update when the `wl_pointer.frame` event is received.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
LGTM, is the compositor sending `leave` and `enter` within the same `frame`?
Potentially an opportunity to systematically avoid it. as a rule of thumb we ought to accumulate `wl_pointer` events (motion, button, axis) as they are received and only process them as a single logical input update when the `wl_pointer.frame` event is received.
I believe the events arrive in the same frame but didn't verify. However this approach should do the right thing even if there are two frames. I actually had your idea in mind (as it's mentioned in to https://wayland-book.com/seat/pointer.html). I'd love to try moving all pointer processing to the end of frame in a followup, it might also help with window dragging.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
4 is the latest approved patch-set.
No files were changed between the latest approved patch-set and the submitted one.
Wayland: defer pointer release on focus loss until end of frame
Fixes a regression which prevented context menus from working if the
mouse is held down to open the menu and released to select an option.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |