Pass-through events
#2559
-
Is it possible to allow for events to pass through the window as if it wasn't there? I want to make a program similar to pureref which has a "transparent to mouse" mode. Preferably I would like keyboard and mouse events to be ignored by the window, effectively making it just an overlay. |
Beta Was this translation helpful? Give feedback.
Answered by
maroider
Nov 17, 2022
Replies: 1 comment 1 reply
-
This has been possible since Winit 0.27.0, with the addition of |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
maroider
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This has been possible since Winit 0.27.0, with the addition of
Window::set_cursor_hittest
.