Adds support to listen mouse events from a window that isn't the default.
Linked Issues
Additional context
I was trying to setup drauu on a popup, which has a different window. The problem was that window still references the main window instead of the popup, so the coordinates emitted by the mouse events were way off. This PR fixes that.
Description
Adds support to listen mouse events from a window that isn't the default.
Linked Issues
Additional context
I was trying to setup drauu on a popup, which has a different window. The problem was that
window
still references the main window instead of the popup, so the coordinates emitted by the mouse events were way off. This PR fixes that.