do not wrap when scrolling layouts with mousewheel
Submitted by Liv
Assigned to Azamat H. Hackimov
Description
This comes on the back of Bug 6533.
Currently when scrolling among layouts with the mousewheel, xkb-plugin will wrap when the last item is reached. So imagine you have: de,en,fr,it. Start with DE, scroll down with mouse wheel to EN, FR, IT; continue scrolling and it will start all over again from DE, EN, FR...
Recently there's been a long discussion on this type of behavior (in the context of wrapping workspaces and window buttons): Bug 6401.
Especially: https://bugzilla.xfce.org/show_bug.cgi?id=6401#c6 "With scrolling, things get a bit harder. It's easy to start but hard to stop. I often "over-scroll" and get lost and resort to keyboard "fixing". Providing boundaries with scrolling makes a lot more sense because 1) it bounds the risk of completely losing yourself and 2) it creates hot spots which you can reach more easily (and possibly quicker than with the keyboard)"
The consensus was that when using the mousewheel to scroll among a list of items, it makes most sense to NOT wrap (and the 4.12 release reflected that). That is, when reaching last item, stop; when reaching first item, stop. I think "no-wrap" should be the default for the xkb-plugin, too.
Version: 0.7.1