WindowServer+LibGfx: Automatic "modified" markers in window titles

You can now add the string "[*]" to a window title and it will be
replaced with " (*)" if the window is modified, and with "" otherwise.
This commit is contained in:
Andreas Kling 2021-05-01 19:01:43 +02:00
commit 20dd5735ce
Notes: sideshowbarker 2024-07-18 18:48:39 +09:00
7 changed files with 13 additions and 10 deletions

View file

@ -998,7 +998,7 @@ void Window::set_modified(bool modified)
return;
m_modified = modified;
invalidate();
frame().invalidate_titlebar();
}
}