Map windows to realms by calling realmsd pid lookup method
This commit is contained in:
@ -17,10 +17,11 @@ function _windowAppId(window) {
|
||||
function windowMenuDebugString(window) {
|
||||
const id = _windowAppId(window);
|
||||
const realm_name = windowRealmName(window);
|
||||
const realms = Shell.Realms.get_default();
|
||||
|
||||
if (!realm_name) {
|
||||
return id;
|
||||
} else if (window.is_on_foreign_workspace_context()) {
|
||||
} else if (realms.is_foreign_window(window)) {
|
||||
return `${id} [${realm_name}]`;
|
||||
} else {
|
||||
return `${id} (${realm_name})`;
|
||||
|
Reference in New Issue
Block a user