mirror of
https://github.com/AdvDebug/Brovan
synced 2026-08-09 11:57:17 +00:00
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:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user