linebender / druid

A data-first Rust-native UI design toolkit.
https://linebender.org/druid/
Apache License 2.0
9.45k stars 569 forks source link

Properly handle mouse leave event on GTK #2324

Closed xStrom closed 1 year ago

xStrom commented 1 year ago

This issue has been reported in #828, #852, and #927. The original GTK mouse leave implementationed added via #552 does not work when part of the window is occluded. For a simple reproduction with the multiwin example see the GIF in #927.

This PR properly wires up the mouse_leave event handler and thus fixes the issue.

Fixes #852