Hyprland: fix app title

This commit is contained in:
ItsLemmy
2025-10-16 20:07:23 -04:00
parent 65450fa156
commit 0e620a6836
2 changed files with 17 additions and 7 deletions
+2 -3
View File
@@ -198,7 +198,7 @@ Item {
try {
// Safely extract properties
const appId = extractAppId(toplevel)
const appId = getAppId(toplevel)
const title = safeGetProperty(toplevel, "title", "")
const focused = toplevel.activated === true
@@ -213,8 +213,7 @@ Item {
}
}
// Extract app ID from various possible sources
function extractAppId(toplevel) {
function getAppId(toplevel) {
if (!toplevel)
return ""