mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-07 03:50:11 +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
|
||||
// parent window may also be embedded inside another window.
|
||||
// TODO: This seems to get clamped at (0, 0), causing large windows dragged
|
||||
// off screen on the top or the left borders to act up
|
||||
// XXX: There's a quirk with either the Melda plugins or Wine itself that
|
||||
// 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(
|
||||
x11_connection.get(), parent_window, root, 0, 0);
|
||||
const xcb_translate_coordinates_reply_t* translated_coordinates =
|
||||
|
||||
Reference in New Issue
Block a user