mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-09 20:29:10 +02:00
Add todo regarding offscreen window coordinates
This commit is contained in:
@@ -196,8 +196,9 @@ void Editor::handle_x11_events() {
|
|||||||
// We can't directly use the `event.x` and `event.y` coordinates
|
// We can't directly use the `event.x` and `event.y` coordinates
|
||||||
// because the parent window may also be embedded inside another
|
// because the parent window may also be embedded inside another
|
||||||
// window.
|
// window.
|
||||||
// TODO: With plugin groups this has to be done any time the
|
// TODO: This seems to get clamped at (0, 0), causing large
|
||||||
// mouse cursor enters the window on a FOCUS_IN event
|
// windows dragged off screen on the top or the left
|
||||||
|
// borders to act up
|
||||||
const auto translate_cookie = xcb_translate_coordinates(
|
const auto translate_cookie = xcb_translate_coordinates(
|
||||||
x11_connection.get(), parent_window, root, 0, 0);
|
x11_connection.get(), parent_window, root, 0, 0);
|
||||||
const xcb_translate_coordinates_reply_t*
|
const xcb_translate_coordinates_reply_t*
|
||||||
|
|||||||
Reference in New Issue
Block a user