Skip to content

Commit

Permalink
#4082 add 'session-type'
Browse files Browse the repository at this point in the history
  • Loading branch information
totaam committed Dec 28, 2023
1 parent 7417717 commit e28099d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions xpra/client/mixins/network_listener.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit e28099d

Please sign in to comment.