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:
parent
e9c40b0243
commit
20dd5735ce
7 changed files with 13 additions and 10 deletions
|
@ -998,7 +998,7 @@ void Window::set_modified(bool modified)
|
|||
return;
|
||||
|
||||
m_modified = modified;
|
||||
invalidate();
|
||||
frame().invalidate_titlebar();
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue