mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-09 17:44:56 +09:00
WindowServer: Don't enter invalid state when using resize corner.
This commit is contained in:
parent
cf750b5d3f
commit
08190dd0ce
Notes:
sideshowbarker
2024-07-19 00:00:17 +09:00
Author: https://github.com/Maato
Commit: 08190dd0ce
Pull-request: https://github.com/SerenityOS/serenity/pull/4867
1 changed files with 2 additions and 0 deletions
|
@ -485,6 +485,8 @@ void WindowManager::start_window_resize(Window& window, const Gfx::IntPoint& pos
|
|||
m_resize_origin = position;
|
||||
m_resize_window_original_rect = window.rect();
|
||||
|
||||
m_active_input_tracking_window = nullptr;
|
||||
|
||||
window.invalidate();
|
||||
|
||||
if (hot_area_row == 0 || hot_area_column == 0) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue