mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-16 05:33:07 +02:00
Mention rendering quirks with Melda plugins
This commit is contained in:
@@ -220,8 +220,12 @@ void Editor::fix_local_coordinates() const {
|
|||||||
|
|
||||||
// We can't directly use the `event.x` and `event.y` coordinates because the
|
// We can't directly use the `event.x` and `event.y` coordinates because the
|
||||||
// parent window may also be embedded inside another window.
|
// parent window may also be embedded inside another window.
|
||||||
// TODO: This seems to get clamped at (0, 0), causing large windows dragged
|
// XXX: There's a quirk with either the Melda plugins or Wine itself that
|
||||||
// off screen on the top or the left borders to act up
|
// cause rendering issues with those plugins and negative screen
|
||||||
|
// coordinates, i.e. when the window gets dragged offscreen at the top
|
||||||
|
// and left sides of the screen. These plugins sometimes also do not
|
||||||
|
// redraw properly. I have not found any other plugins that behave like
|
||||||
|
// this, so I'll it's not something we can fix ourselves.
|
||||||
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* translated_coordinates =
|
const xcb_translate_coordinates_reply_t* translated_coordinates =
|
||||||
|
|||||||
Reference in New Issue
Block a user