session: fix missing break in eventtype

This commit is contained in:
Vaxry 2024-06-29 20:02:12 +02:00
parent 3ffa774f12
commit a313f6f0e4

View file

@ -471,7 +471,7 @@ void Aquamarine::CSession::handleLibinputEvent(libinput_event* e) {
};
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_CONTINUOUS: aqe.source = IPointer::AQ_POINTER_AXIS_SOURCE_CONTINUOUS; break;
default: break; /* unreachable */
@ -639,8 +639,6 @@ void Aquamarine::CSession::handleLibinputEvent(libinput_event* e) {
// --------- tbalet
// FIXME: other events
default: break;