mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 05:38:11 +00:00
WindowServer: Don't enter invalid state when using resize corner.
This commit is contained in:
parent
cf750b5d3f
commit
08190dd0ce
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