mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-07 03:50:11 +02:00
Don't respond to hit tests from the Win32 window
This will let us detect other, non-wrapper windows to the right and to the bottom of a plugin GUI. Useful for drag-and-drop so we don't end up overriding Wine's internal drag-and-drop mechanism.
This commit is contained in:
@@ -72,9 +72,9 @@ xcb_atom_t get_atom_by_name(xcb_connection_t& x11_connection,
|
||||
/**
|
||||
* Check if the cursor is within a Wine window. We can of course only detect
|
||||
* Wine applications within the current prefix. This ignores the extended client
|
||||
* area of yabridge windows (which might mean that this function will spuriously
|
||||
* return false if another window on the bottom right of an editor window is
|
||||
* 'obstructed' by this clipped, invisible window).
|
||||
* area of yabridge windows. (so it will consider other Wine windows to the
|
||||
* right or to the bottom of a yabridge plugin editor, but not the extended
|
||||
* client area itself)
|
||||
*/
|
||||
bool is_cursor_in_wine_window() noexcept;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user