summaryrefslogtreecommitdiff
path: root/WindowServer/WSWindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WindowServer/WSWindow.cpp')
-rw-r--r--WindowServer/WSWindow.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/WindowServer/WSWindow.cpp b/WindowServer/WSWindow.cpp
index 005821de8f..b1d7bd8774 100644
--- a/WindowServer/WSWindow.cpp
+++ b/WindowServer/WSWindow.cpp
@@ -59,6 +59,7 @@ void WSWindow::event(WSEvent& event)
case WSEvent::MouseMove:
gui_event.type = GUI_Event::Type::MouseMove;
gui_event.mouse.position = static_cast<MouseEvent&>(event).position();
+ gui_event.mouse.button = GUI_MouseButton::NoButton;
break;
case WSEvent::MouseDown:
gui_event.type = GUI_Event::Type::MouseDown;