1
Fork 0
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:
Mart G 2021-01-09 15:50:47 +01:00 committed by Andreas Kling
parent cf750b5d3f
commit 08190dd0ce

View file

@ -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) {