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

scroll or middle click to cycle layouts #44

Open
imthenachoman opened this issue Jul 19, 2023 · 1 comment
Open

scroll or middle click to cycle layouts #44

imthenachoman opened this issue Jul 19, 2023 · 1 comment
Labels
help wanted Extra attention is needed

Comments

@imthenachoman
Copy link

Right now you can use non-primary mouse button to either toggle zone activation or cycle. My thought is, one of these options would be good/better:

  1. After zone activation, it can then be used to cycle between layouts. So you start dragging and then right click to activate Kzones, then right click again to cycle layouts.
  2. Use non primary mouse button to toggle zone activation and then mouse wheel to cycle between layouts.

Also, the modifier/non-primary feature only works on X11 and not Wayland. Will this also be fixed when Wayland support is better or it's not possible at all with Wayland?

I prefer Wayland but can go back to X11 if that's the only way to use these two features.

@gerritdevriese
Copy link
Owner

This is a great idea, but at the moment I can't figure out any way to do this on Wayland, I also daily drive Wayland, so I don't really want to add X11-only features.

I tried using the "keystate" engine from PlasmaCore.DataSource, but I don't get any data on Wayland, which is weird because the default KDE lockscreen also uses this to get the Caps Lock state, so it seems to be a KWin API limitation?

If someone can figure out a way to reliably signal key & mouse events on both X11 and Wayland, let me know.

@gerritdevriese gerritdevriese added the help wanted Extra attention is needed label Jul 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants