kranewl

A wlroots-based dynamic Wayland compositor, written in C++, configurable with Lua
git clone git://git.deurzen.net/kranewl
Log | Files | Refs | LICENSE

commit 5d91c4024cb5761513d932ea01befdd608eff97d
parent 5c5e00789db9df4e32ec0450d5f4fadda42839e1
Author: deurzen <max@deurzen.net>
Date:   Wed,  1 Jun 2022 10:25:51 +0200

adds {next,prev}-context cursor bindings

Diffstat:
Minclude/kranewl/input/cursor-bindings.hh | 12++++++++++++
1 file changed, 12 insertions(+), 0 deletions(-)

diff --git a/include/kranewl/input/cursor-bindings.hh b/include/kranewl/input/cursor-bindings.hh @@ -105,6 +105,18 @@ static const CursorBindings cursor_bindings = { model.activate_next_workspace(Direction::Backward); }) }, +{ { GLOBAL, SCROLLDOWN, MODKEY | WLR_MODIFIER_CTRL }, + CALL_NOFOCUS({ + static_cast<void>(view); + model.activate_next_context(Direction::Forward); + }) +}, +{ { GLOBAL, SCROLLUP, MODKEY | WLR_MODIFIER_CTRL }, + CALL_NOFOCUS({ + static_cast<void>(view); + model.activate_next_context(Direction::Backward); + }) +}, { { VIEW, FORWARD, MODKEY }, CALL_NOFOCUS({ if (view)