From e28099d5efb6354083d852646c4b99ec591c59a8 Mon Sep 17 00:00:00 2001 From: Antoine Martin Date: Thu, 28 Dec 2023 12:49:26 +0100 Subject: [PATCH] #4082 add 'session-type' --- xpra/client/mixins/network_listener.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/xpra/client/mixins/network_listener.py b/xpra/client/mixins/network_listener.py index d4178a420c..d091d889e6 100644 --- a/xpra/client/mixins/network_listener.py +++ b/xpra/client/mixins/network_listener.py @@ -203,8 +203,11 @@ def hello_reply(data) -> None: if request == "info": def send_info() -> None: + from xpra.platform.gui import get_session_type + from xpra.util.system import get_generic_os_name info = self.get_info() info["network"] = get_network_caps() + info["session-type"] = (get_session_type() or get_generic_os_name()) + " client" hello_reply(info) # run in UI thread: