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

Workspace swipe rework #113

Closed
horriblename opened this issue Apr 27, 2024 · 0 comments · Fixed by #129
Closed

Workspace swipe rework #113

horriblename opened this issue Apr 27, 2024 · 0 comments · Fixed by #129
Labels
good first issue Good for newcomers

Comments

@horriblename
Copy link
Owner

Some time ago Hyprland added touch gestures for workspace swipe, so now we can use the slightly less hacky internal APIs for our own.

  • The new workspace swipe should be implemented using: g_pInputManager->beginWorkspaceSwipe, updateWorkspaceSwipe and endWorkspaceSwipe. These are private methods so the following hack needs to be used:
#define private public
#include <hyprland/src/...>
#undef private

(even the official hyprexpo plugin does this so don't think about it)

@horriblename horriblename added good first issue Good for newcomers bug Something isn't working and removed bug Something isn't working labels Apr 27, 2024
@horriblename horriblename reopened this May 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant