mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 03:07:44 +00:00
Invalidate the window when starting to drag it.
This ensures that the drag color shows up immediately.
This commit is contained in:
parent
4bffdd2394
commit
102a5add16
1 changed files with 1 additions and 0 deletions
|
@ -235,6 +235,7 @@ void WSWindowManager::handle_titlebar_mouse_event(WSWindow& window, MouseEvent&
|
||||||
m_drag_window_origin = window.position();
|
m_drag_window_origin = window.position();
|
||||||
m_drag_start_rect = outerRectForWindow(window.rect());
|
m_drag_start_rect = outerRectForWindow(window.rect());
|
||||||
window.set_is_being_dragged(true);
|
window.set_is_being_dragged(true);
|
||||||
|
invalidate(window);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue