rvaiya / warpd

A modal keyboard-driven virtual pointer
MIT License
2.89k stars 131 forks source link

Wayland: Fails in `Wayfire` #115

Open fedoranvar opened 2 years ago

fedoranvar commented 2 years ago

tested on wayland with 6eee04 commit:

1) sway works fine 2) wayfire - shows the grid, pointer, and hints, but it didn't respond for control keys (esc, hjkl, m,.)

Originally posted by @fedoranvar in https://github.com/rvaiya/warpd/issues/94#issuecomment-1116154260

fedoranvar commented 2 years ago

also i have an eye of testing warpd in Hyprland (https://github.com/vaxerski/Hyprland)

fedoranvar commented 2 years ago

Hyprland implented protocol. (https://github.com/vaxerski/Hyprland/commit/d438bd970a621db7e158936459922f8165ccee78) and --hint works , but when i'm typing some one-key of navigation (hjkl), the cursor fly away in that direction

rvaiya commented 2 years ago

I'm assuming these are both protocol implementation issues which need to be solved on the compositor side. It's also possible I am abusing some undefined behaviour in the unstable wlroots protocols (I only tested on sway). I don't have the time to debug these for each compositor at the moment but if there is enough demand I might take a second look. Patches are also welcome, though I doubt much can be done.