summaryrefslogtreecommitdiff
path: root/src/gui/gui.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/gui.h')
-rw-r--r--src/gui/gui.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gui/gui.h b/src/gui/gui.h
index 97604ad3a..6027625cb 100644
--- a/src/gui/gui.h
+++ b/src/gui/gui.h
@@ -68,6 +68,8 @@
#include "gui/color.h"
+#include "events/mouseeventtype.h"
+
#include "resources/cursor.h"
#include <deque>
@@ -325,7 +327,7 @@ class Gui final
void handleMouseInput();
void distributeMouseEvent(Widget *const source,
- const int type,
+ const MouseEventType::Type type,
const int button,
const int x, const int y,
const bool force = false,