diff --git a/xpra/client/mixins/window_manager.py b/xpra/client/mixins/window_manager.py index 7502e38acb..f2b4e20c4a 100644 --- a/xpra/client/mixins/window_manager.py +++ b/xpra/client/mixins/window_manager.py @@ -1123,7 +1123,7 @@ def window_close_event(self, wid): metadata = getattr(window, "_metadata", {}) log("window_close_event(%i) metadata=%s", wid, metadata) class_instance = metadata.strtupleget("class-instance", (None, None), 2, 2) - title = metadata.get("title", "") + title = metadata.strget("title", "") log("window_close_event(%i) title=%s, class-instance=%s", wid, title, class_instance) matching_title_close = [x for x in TITLE_CLOSEEXIT if x and title.startswith(x)] close = None