Skip to content

Commit 06dfba0

Browse files
authored
Fix parsing window ID on Linux (#173)
1 parent 27221e5 commit 06dfba0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/linux.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ async function getWindowInformation(windowId) {
9090
]);
9191

9292
const data = parseLinux({
93-
windowId,
93+
activeWindowId: windowId,
9494
boundsStdout,
9595
stdout
9696
});
@@ -108,7 +108,7 @@ function getWindowInformationSync(windowId) {
108108
const boundsStdout = childProcess.execFileSync(xwininfoBin, [...xpropDetailsArgs, windowId], {encoding: 'utf8'});
109109

110110
const data = parseLinux({
111-
windowId,
111+
activeWindowId: windowId,
112112
boundsStdout,
113113
stdout
114114
});

0 commit comments

Comments
 (0)