mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-07 03:50:11 +02:00
Don't reparent when the parent gets reparented
Some hosts, like Carla 2.3.1, will resize their windows to match the reparented window's client area. This messes with our ConfigureNotify setup.
This commit is contained in:
@@ -443,9 +443,8 @@ void Editor::handle_x11_events() noexcept {
|
||||
// recognized since the window will then cover the
|
||||
// entire screen (since that's what the client area
|
||||
// has been set to).
|
||||
if (event->window == parent_window ||
|
||||
(event->window == wine_window &&
|
||||
event->parent != parent_window)) {
|
||||
if (event->window == wine_window &&
|
||||
event->parent != parent_window) {
|
||||
if (use_xembed) {
|
||||
do_xembed();
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user