WindowServer: Notify WM clients when a window's modified state changes

Also update the window switcher for good measure. The window switcher
doesn't visualize this information at the moment, but we generally do
this when any window state changes.
This commit is contained in:
Andreas Kling 2021-05-09 23:56:24 +02:00
commit 1f24ab91f2
Notes: sideshowbarker 2024-07-18 18:24:26 +09:00
3 changed files with 10 additions and 0 deletions

View file

@ -997,6 +997,7 @@ void Window::set_modified(bool modified)
return;
m_modified = modified;
WindowManager::the().notify_modified_changed(*this);
frame().set_button_icons();
frame().invalidate_titlebar();
}