[GH-ISSUE #187] An option to lock cursor on startup. #153

Open
opened 2026-05-05 05:24:53 -06:00 by gitea-mirror · 2 comments
Owner

Originally created by @wjtk4444 on GitHub (Dec 1, 2018).
Original GitHub issue: https://github.com/debauchee/barrier/issues/187

If find it way more convenient to use hotkeys rather than mouse-position-based-context switching barrier does by default. Currently there's no other option to acheive such behavior other than assigning lockCursorToScreen(toggle) to a hotkey and pressing it every time barrier starts. An option to lock cursor by default (under advanced server settings?) would be great.

In addition to that, I think that it would be nice to add an option to / make another variant of switchInDirection(direction) action that'd allow to loop over the screens rather than stop at the direction-most screen.
I believe that the majority of the users have only two screens, where such option could be best used.

Originally created by @wjtk4444 on GitHub (Dec 1, 2018). Original GitHub issue: https://github.com/debauchee/barrier/issues/187 If find it way more convenient to use hotkeys rather than mouse-position-based-context switching barrier does by default. Currently there's no other option to acheive such behavior other than assigning `lockCursorToScreen(toggle)` to a hotkey and pressing it every time barrier starts. An option to lock cursor by default (under advanced server settings?) would be great. In addition to that, I think that it would be nice to add an option to / make another variant of `switchInDirection(direction)` action that'd allow to loop over the screens rather than stop at the *direction*-most screen. I believe that the majority of the users have *only* two screens, where such option could be best used.
gitea-mirror added the
enhancement
label 2026-05-05 05:24:53 -06:00
Author
Owner

@Keaft commented on GitHub (Dec 25, 2019):

I would love this enhancement as well. I run into an issue with my steam link where my mouse goes to the edge of the screen and then locks which requires me to be at my computer to pull the mouse back manually. Some times I'm not home and I can't exit steam link because I have no control of the mouse to exit out.

<!-- gh-comment-id:568889041 --> @Keaft commented on GitHub (Dec 25, 2019): I would love this enhancement as well. I run into an issue with my steam link where my mouse goes to the edge of the screen and then locks which requires me to be at my computer to pull the mouse back manually. Some times I'm not home and I can't exit steam link because I have no control of the mouse to exit out.
Author
Owner

@holodrum commented on GitHub (Oct 12, 2020):

Can it really be that this feature still hasn't been implimentet or am I missing something?
I've looked through all of the settings and I can't find this.

<!-- gh-comment-id:707183362 --> @holodrum commented on GitHub (Oct 12, 2020): Can it really be that this feature still hasn't been implimentet or am I missing something? I've looked through all of the settings and I can't find this.
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#153
No description provided.