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

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