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

Enable using hotkeys to lock the current screen #2

Open
timgws opened this issue Jun 4, 2022 · 1 comment
Open

Enable using hotkeys to lock the current screen #2

timgws opened this issue Jun 4, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@timgws
Copy link
Owner

timgws commented Jun 4, 2022

Enable using hotkeys to lock the current screen/not send glide commands to the server.

@timgws timgws added the enhancement New feature or request label Jun 5, 2022
@timgws
Copy link
Owner Author

timgws commented Jun 5, 2022

This is relatively easy to implement. Register a global hotkey with the OS, and then set switching = true. This will stop the commands from being sent by the client to the server - effectively pausing switching.

Some logic will need to change on the websocket handler, because currently it will set switching = false when it sees that another client has sent a command to switch desktops.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Todo
Development

No branches or pull requests

1 participant