mirror of
https://github.com/hyprwm/aquamarine.git
synced 2024-11-17 06:06:00 +01:00
session: fix missing break in eventtype
This commit is contained in:
parent
3ffa774f12
commit
a313f6f0e4
1 changed files with 1 additions and 3 deletions
|
@ -471,7 +471,7 @@ void Aquamarine::CSession::handleLibinputEvent(libinput_event* e) {
|
||||||
};
|
};
|
||||||
|
|
||||||
switch (eventType) {
|
switch (eventType) {
|
||||||
case LIBINPUT_EVENT_POINTER_SCROLL_WHEEL: aqe.source = IPointer::AQ_POINTER_AXIS_SOURCE_WHEEL;
|
case LIBINPUT_EVENT_POINTER_SCROLL_WHEEL: aqe.source = IPointer::AQ_POINTER_AXIS_SOURCE_WHEEL; break;
|
||||||
case LIBINPUT_EVENT_POINTER_SCROLL_FINGER: aqe.source = IPointer::AQ_POINTER_AXIS_SOURCE_FINGER; break;
|
case LIBINPUT_EVENT_POINTER_SCROLL_FINGER: aqe.source = IPointer::AQ_POINTER_AXIS_SOURCE_FINGER; break;
|
||||||
case LIBINPUT_EVENT_POINTER_SCROLL_CONTINUOUS: aqe.source = IPointer::AQ_POINTER_AXIS_SOURCE_CONTINUOUS; break;
|
case LIBINPUT_EVENT_POINTER_SCROLL_CONTINUOUS: aqe.source = IPointer::AQ_POINTER_AXIS_SOURCE_CONTINUOUS; break;
|
||||||
default: break; /* unreachable */
|
default: break; /* unreachable */
|
||||||
|
@ -639,8 +639,6 @@ void Aquamarine::CSession::handleLibinputEvent(libinput_event* e) {
|
||||||
|
|
||||||
// --------- tbalet
|
// --------- tbalet
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// FIXME: other events
|
// FIXME: other events
|
||||||
|
|
||||||
default: break;
|
default: break;
|
||||||
|
|
Loading…
Reference in a new issue