horriblename / hyprgrass

hyprland plugin for touch gestures
BSD 3-Clause "New" or "Revised" License
268 stars 11 forks source link

removed GetWorkplaceByID call #104

Closed technotechnoduck closed 6 months ago

technotechnoduck commented 6 months ago

Since the return type of g_pCompositor->m_pLastMonitor->activeWorkspace got changed, it no longer was able to be used with GetWorkplaceByID .

Removal of that surrounding function resolved issue #100 for me.

Using g_pInputManager is indeed probably the correct thing, but this is more of a stopgap solution.

Might be horribly wrong, who knows, tell me what you think.

horriblename commented 6 months ago

LGTM

I definitely want to rewrite workspace swipe to be more in line with https://github.com/hyprwm/Hyprland/pull/4489 changes

but this is fine for now