mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-02-19 06:07:09 +00:00
WindowServer: Only the left mouse button should initiate window drag.
This commit is contained in:
@@ -786,7 +786,7 @@ void WSWindowManager::process_mouse_event(WSMouseEvent& event, WSWindow*& event_
|
||||
handle_close_button_mouse_event(window, event);
|
||||
return IterationDecision::Abort;
|
||||
}
|
||||
if (event.type() == WSMessage::MouseDown)
|
||||
if (event.type() == WSMessage::MouseDown && event.button() == MouseButton::Left)
|
||||
start_window_drag(window, event);
|
||||
return IterationDecision::Abort;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user