summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gui/gui.cpp5
-rw-r--r--src/touchmanager.cpp8
2 files changed, 13 insertions, 0 deletions
diff --git a/src/gui/gui.cpp b/src/gui/gui.cpp
index 6a7727c07..441f59d95 100644
--- a/src/gui/gui.cpp
+++ b/src/gui/gui.cpp
@@ -999,6 +999,11 @@ void Gui::handleMouseInput()
case MouseEventType::WHEEL_MOVED_UP:
handleMouseWheelMovedUp(mouseInput);
break;
+ case MouseEventType::CLICKED:
+ case MouseEventType::ENTERED:
+ case MouseEventType::EXITED:
+ case MouseEventType::DRAGGED:
+ case MouseEventType::RELEASED2:
default:
break;
}
diff --git a/src/touchmanager.cpp b/src/touchmanager.cpp
index dbb1ea9b2..aa5871057 100644
--- a/src/touchmanager.cpp
+++ b/src/touchmanager.cpp
@@ -296,6 +296,14 @@ bool TouchManager::processEvent(const MouseInput &mouseInput)
item->funcReleased(event);
break;
default:
+ case MouseEventType::MOVED:
+ case MouseEventType::WHEEL_MOVED_DOWN:
+ case MouseEventType::WHEEL_MOVED_UP:
+ case MouseEventType::CLICKED:
+ case MouseEventType::ENTERED:
+ case MouseEventType::EXITED:
+ case MouseEventType::DRAGGED:
+ case MouseEventType::RELEASED2:
break;
}
return true;