Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow multiple GUIs at the same time #78

Open
diovudau opened this issue Mar 5, 2022 · 0 comments
Open

Allow multiple GUIs at the same time #78

diovudau opened this issue Mar 5, 2022 · 0 comments

Comments

@diovudau
Copy link
Contributor

diovudau commented Mar 5, 2022

At the moment there can only be one GUI for an instance of nsmd. While this may seem reasonable at first glance it prevents usecases like specialized helper tools, such as tray icons or even system notifications, while a main GUI is running.

Technically the server nsmd has a single variable gui_addr that holds the last GUI OSC that sent /nsm/gui/gui_announce . All reactions to any /nsm/server-message are sent only to this.

It should be a collection instead of gui_addr where multiple GUIs can register in a callback-list fashion.

Please note that anyone can already send /nsm/server messages. This issue is not about access control, the access is already wide open. It is about sending feedback to those who instruct the server to do something.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant