Append Brovan suffix to window titles

Window titles are now consistently branded by appending " - Brovan" in both Linux and Windows window manager implementations to let the user know this is Brovan-(owned/made)
This commit is contained in:
AdvDebug
2026-07-29 15:00:26 +03:00
parent 6f1c4c7be9
commit 06aff8c04a
2 changed files with 3 additions and 3 deletions
@@ -1504,7 +1504,7 @@ namespace Brovan.Core.Emulation.OS.SharedHelpers
set
{
EnsureAlive();
_title = value ?? string.Empty;
_title = string.Concat(value, " - Brovan") ?? string.Empty;
_manager.SetTitle(_window, _title);
X11.XFlush(_display);
}
@@ -728,7 +728,7 @@ namespace Brovan.Core.Emulation.OS.SharedHelpers
{
_manager = manager;
_hwnd = hwnd;
_title = options.Title ?? string.Empty;
_title = string.Concat(options.Title, " - Brovan") ?? string.Empty;
_width = Math.Max(options.Width, 1);
_height = Math.Max(options.Height, 1);
_visible = options.Visible;
@@ -788,7 +788,7 @@ namespace Brovan.Core.Emulation.OS.SharedHelpers
set
{
EnsureAlive();
_title = value ?? string.Empty;
_title = string.Concat(value, " - Brovan") ?? string.Empty;
_manager.UpdateWindowText(_hwnd, _title);
}
}