From a313f6f0e4a252465c5587ad959ca51ad8e8b2fb Mon Sep 17 00:00:00 2001 From: Vaxry Date: Sat, 29 Jun 2024 20:02:12 +0200 Subject: [PATCH] session: fix missing break in eventtype --- src/backend/Session.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/backend/Session.cpp b/src/backend/Session.cpp index 423e7f4..5e7ffd4 100644 --- a/src/backend/Session.cpp +++ b/src/backend/Session.cpp @@ -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;