WindowServer: Mark old window area as damaged on resize

This commit is contained in:
2026-08-17 04:58:35 +03:00
parent b6f922895f
commit 8f4db57ed8
@@ -710,6 +710,7 @@ void WindowServer::on_mouse_button(LibInput::MouseButtonEvent event)
const auto resize_area = this->resize_area(m_cursor);
m_state = State::Normal;
add_damaged_area(m_focused_window->full_area());
add_damaged_area(resize_area);
if (auto ret = m_focused_window->resize(resize_area.width(), resize_area.height() - m_focused_window->title_bar_height()); ret.is_error())