summaryrefslogtreecommitdiffstats
path: root/src/client
diff options
context:
space:
mode:
authorDavid Redondo <qt@david-redondo.de>2024-01-23 09:18:01 +0100
committerDavid Redondo <qt@david-redondo.de>2024-01-23 10:27:40 +0100
commit91c75ebbb87337c64c20caeb3d6c259d7f843aa9 (patch)
tree4556d7d0b4a433784f14f1263d6b07ea466f5901 /src/client
parent62890fc9b0b3db620ddb7a4420636ffa7442af19 (diff)
client: Destroy window manager integration before display
Like the globals window manager integration needs the display to be alive. Fixes: QTBUG-121364 Change-Id: I3bf10737f9c1aa6d0b3c34d2268532ea6fc4e957 Reviewed-by: David Edmundson <davidedmundson@kde.org>
Diffstat (limited to 'src/client')
-rw-r--r--src/client/qwaylanddisplay.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/qwaylanddisplay.cpp b/src/client/qwaylanddisplay.cpp
index 890fed199..43f9443fb 100644
--- a/src/client/qwaylanddisplay.cpp
+++ b/src/client/qwaylanddisplay.cpp
@@ -373,6 +373,7 @@ QWaylandDisplay::~QWaylandDisplay(void)
// Reset the globals manually since they need to be destroyed before the wl_display
mGlobals = {};
+ mWindowManagerIntegration.reset();
if (object())
wl_registry_destroy(object());