1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 03:17:34 +00:00

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
parent e9c40b0243
commit 20dd5735ce
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();
}
}