mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-25 02:38:59 +00:00
WindowServer: Only the left mouse button should initiate window drag.
This commit is contained in:
parent
eedfb2649e
commit
495c4f940d
Notes:
sideshowbarker
2024-07-19 15:09:21 +09:00
Author: https://github.com/awesomekling
Commit: 495c4f940d
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue