From 15fe4b61afc2e8bc5320097fd85435845dc69cc7 Mon Sep 17 00:00:00 2001 From: Nils <> Date: Fri, 3 Jul 2020 19:21:18 +0200 Subject: [PATCH] resend option-gui capability when connecting to a running nsmd with loaded session --- src/nsmd.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/nsmd.cpp b/src/nsmd.cpp index 13742f0..1b1db5a 100644 --- a/src/nsmd.cpp +++ b/src/nsmd.cpp @@ -2287,6 +2287,9 @@ announce_gui( const char *url, bool is_reply ) osc_server->send( gui_addr, "/nsm/gui/client/new", c->client_id, c->name ); osc_server->send( gui_addr, "/nsm/gui/client/status", c->client_id, c->status ); + if ( c->is_capable_of( ":optional-gui:" ) ) + osc_server->send( gui_addr, "/nsm/gui/client/has_optional_gui", c->client_id ); + } //Send two parameters. The first one is the short session name, which is the directory name.