[PR #1139] barriers: add headless mode #1758

Open
opened 2026-05-05 08:01:10 -06:00 by gitea-mirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/debauchee/barrier/pull/1139
Author: @lededev
Created: 4/21/2021
Status: 🔄 Open

Base: masterHead: hdlsm-1


📝 Commits (4)

  • 833904e barriers: add headless mode
  • 5e77cb4 add headless mode settings in GUI, cursor no jump while reconnect
  • 7709db8 headless: userscript bind hotkey
  • 7ac22c3 backport from upstream for headless mode

📊 Changes

29 files changed (+350 additions, -36 deletions)

View changed files

📝 src/gui/src/Action.cpp (+10 -1)
📝 src/gui/src/Action.h (+6 -1)
📝 src/gui/src/ActionDialog.cpp (+3 -1)
📝 src/gui/src/ActionDialogBase.ui (+80 -1)
📝 src/gui/src/AppConfig.cpp (+8 -1)
📝 src/gui/src/AppConfig.h (+4 -0)
📝 src/gui/src/MainWindow.cpp (+3 -0)
📝 src/gui/src/SettingsDialog.cpp (+2 -0)
📝 src/gui/src/SettingsDialogBase.ui (+8 -1)
📝 src/lib/barrier/App.cpp (+3 -0)
📝 src/lib/barrier/App.h (+4 -1)
📝 src/lib/barrier/ArgParser.cpp (+3 -0)
📝 src/lib/barrier/ArgsBase.cpp (+2 -1)
📝 src/lib/barrier/ArgsBase.h (+1 -0)
📝 src/lib/barrier/ClientApp.cpp (+1 -1)
📝 src/lib/barrier/IKeyState.cpp (+4 -4)
📝 src/lib/barrier/ProtocolUtil.cpp (+9 -7)
📝 src/lib/barrier/ServerApp.cpp (+13 -1)
📝 src/lib/client/Client.cpp (+3 -2)
📝 src/lib/platform/MSWindowsDesks.cpp (+8 -5)

...and 9 more files

📄 Description

New feature for issue https://github.com/debauchee/barrier/issues/1135
Run barriers server with option --headless-mode, when any client connected, if server screen is holding the input focus, server will actively switch the input focus to the client.
This will make easier to use a headless box.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/debauchee/barrier/pull/1139 **Author:** [@lededev](https://github.com/lededev) **Created:** 4/21/2021 **Status:** 🔄 Open **Base:** `master` ← **Head:** `hdlsm-1` --- ### 📝 Commits (4) - [`833904e`](https://github.com/debauchee/barrier/commit/833904e3bfc9157a5eb4ed753f3622e3d7a8d5b4) barriers: add headless mode - [`5e77cb4`](https://github.com/debauchee/barrier/commit/5e77cb457722353f5f8cd54d701174bd76c2f5b9) add headless mode settings in GUI, cursor no jump while reconnect - [`7709db8`](https://github.com/debauchee/barrier/commit/7709db832b54d0c9c24004946147760c5823165c) headless: userscript bind hotkey - [`7ac22c3`](https://github.com/debauchee/barrier/commit/7ac22c31cbc845cd9a778eef8deced040bcda949) backport from upstream for headless mode ### 📊 Changes **29 files changed** (+350 additions, -36 deletions) <details> <summary>View changed files</summary> 📝 `src/gui/src/Action.cpp` (+10 -1) 📝 `src/gui/src/Action.h` (+6 -1) 📝 `src/gui/src/ActionDialog.cpp` (+3 -1) 📝 `src/gui/src/ActionDialogBase.ui` (+80 -1) 📝 `src/gui/src/AppConfig.cpp` (+8 -1) 📝 `src/gui/src/AppConfig.h` (+4 -0) 📝 `src/gui/src/MainWindow.cpp` (+3 -0) 📝 `src/gui/src/SettingsDialog.cpp` (+2 -0) 📝 `src/gui/src/SettingsDialogBase.ui` (+8 -1) 📝 `src/lib/barrier/App.cpp` (+3 -0) 📝 `src/lib/barrier/App.h` (+4 -1) 📝 `src/lib/barrier/ArgParser.cpp` (+3 -0) 📝 `src/lib/barrier/ArgsBase.cpp` (+2 -1) 📝 `src/lib/barrier/ArgsBase.h` (+1 -0) 📝 `src/lib/barrier/ClientApp.cpp` (+1 -1) 📝 `src/lib/barrier/IKeyState.cpp` (+4 -4) 📝 `src/lib/barrier/ProtocolUtil.cpp` (+9 -7) 📝 `src/lib/barrier/ServerApp.cpp` (+13 -1) 📝 `src/lib/client/Client.cpp` (+3 -2) 📝 `src/lib/platform/MSWindowsDesks.cpp` (+8 -5) _...and 9 more files_ </details> ### 📄 Description New feature for issue https://github.com/debauchee/barrier/issues/1135 Run barriers server with option `--headless-mode`, when any client connected, if server screen is holding the input focus, server will actively switch the input focus to the client. This will make easier to use a headless box. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
gitea-mirror added the
pull-request
label 2026-05-05 08:01:10 -06:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/barrier#1758
No description provided.