Skip to content

Conversation

@leolost2605
Copy link
Member

We want to release the barrier once it was triggered for a certain amount of time to allow the cursor to travel to a new monitor. We can play with the amount of time a bit but 200 seemed ok to me 🤷

Fixes #2424
Fixes elementary/dock#68

@leolost2605 leolost2605 requested a review from a team June 2, 2025 18:23
Copy link
Member

@lenemter lenemter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code looks good. But I can't test it since I don't have a second monitor

Copy link
Collaborator

@leonardo-lemos leonardo-lemos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It works, but I think it could be improved. The cursor transition between monitors doesn't feel smooth — it gets stuck between them for too long. Maybe reducing the delay time would help.

Copy link
Collaborator

@leonardo-lemos leonardo-lemos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! 150 works very well!

@lenemter lenemter merged commit 32473f6 into main Jun 9, 2025
4 of 5 checks passed
@lenemter lenemter deleted the leolost/fix-barrier-release branch June 9, 2025 20:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

4 participants