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:
Robbert van der Helm
2021-07-21 12:33:29 +02:00
parent 1ee1229e47
commit 68d4a6610e
+2 -3
View File
@@ -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 {