mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 13:28:11 +00:00
WindowServer: Don't start window resize for MouseUp or MouseMove.
This commit is contained in:
parent
bcc6ddfb6b
commit
9df8d28542
1 changed files with 1 additions and 1 deletions
|
@ -298,6 +298,6 @@ void WSWindowFrame::on_mouse_event(const WSMouseEvent& event)
|
|||
return;
|
||||
}
|
||||
|
||||
if (m_window.is_resizable() && event.button() == MouseButton::Left)
|
||||
if (m_window.is_resizable() && event.type() == WSEvent::MouseDown && event.button() == MouseButton::Left)
|
||||
wm.start_window_resize(m_window, event.translated(rect().location()));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue