mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 13:57:35 +00:00
WindowServer: Add "[user]" to titlebar when uid differs from login user
This commit is contained in:
parent
7237be763f
commit
8768417b1c
3 changed files with 32 additions and 1 deletions
|
@ -388,6 +388,7 @@ private:
|
|||
void ensure_window_menu();
|
||||
void update_window_menu_items();
|
||||
void modal_unparented();
|
||||
ErrorOr<Optional<String>> compute_title_username(ConnectionFromClient* client);
|
||||
|
||||
ConnectionFromClient* m_client { nullptr };
|
||||
|
||||
|
@ -397,6 +398,7 @@ private:
|
|||
Menubar m_menubar;
|
||||
|
||||
String m_title;
|
||||
Optional<String> m_title_username;
|
||||
Gfx::IntRect m_rect;
|
||||
Gfx::IntRect m_saved_nonfullscreen_rect;
|
||||
Gfx::IntRect m_taskbar_rect;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue