Skip to content

Hyprbars fix touch#505

Merged
vaxerski merged 4 commits intohyprwm:mainfrom
earboxer:hyprbars-fix-touch
Oct 13, 2025
Merged

Hyprbars fix touch#505
vaxerski merged 4 commits intohyprwm:mainfrom
earboxer:hyprbars-fix-touch

Conversation

@earboxer
Copy link
Copy Markdown
Contributor

@earboxer earboxer commented Oct 8, 2025

Fixes a regression from the latest hyprland version.

This functions slightly differently from the previous working behavior

  • floating window is pinned
  • non-matching touch events are ignored

the effect of this is that you can grab a window with one finger and do the workspace gesture switch eith the other finger. So with hyprbars, keyboard shortcuts are no longer required to move a window to a different workspace on a touchscreen device.

also

  • window is dragged from the center of the title bar, rather jumping the center of the window to your digit

another nice effect of this is that it's easier to use another finger to interact with the window while you are dragging it (if you wanted to do that for whatever reason).

mouse-behavior should be unchanged (for better or worse), so it is a little inconsistent with the new working touch behavior.

Some day in the future, someone might want to allow for moving multiple windows at once with multiple fingers, but today is not that day.

@earboxer earboxer marked this pull request as draft October 8, 2025 03:30
@earboxer earboxer force-pushed the hyprbars-fix-touch branch from feb153a to 9c0773b Compare October 8, 2025 17:23
@earboxer earboxer marked this pull request as ready for review October 8, 2025 23:05
@earboxer earboxer marked this pull request as draft October 8, 2025 23:06
@earboxer earboxer force-pushed the hyprbars-fix-touch branch from 9c0773b to a9efe25 Compare October 8, 2025 23:07
@earboxer earboxer marked this pull request as ready for review October 8, 2025 23:20
@earboxer earboxer requested a review from vaxerski October 11, 2025 11:54
@vaxerski vaxerski merged commit 25a5d13 into hyprwm:main Oct 13, 2025
1 check passed
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

Successfully merging this pull request may close these issues.

2 participants