Skip to content

Commit 7044ff5

Browse files
committed
fix window id
1 parent 2024773 commit 7044ff5

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

kwin/contents/code/main.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@ const method = "ActiveWindowChanged";
55
function activeWindowChanged(window) {
66
if (window) {
77
const name = window.resourceName + "." + window.resourceClass;
8-
const id = "" + window.id;
9-
print("windowActivated: name=" + name + ", id=" + window.id + ", window=" + window);
8+
const id = window.internalId.toString();
109
callDBus(service, path, service, method, name, id);
1110
}
1211
}

0 commit comments

Comments
 (0)