diff --git a/lib/linux.js b/lib/linux.js index 69e5409..2386bfd 100644 --- a/lib/linux.js +++ b/lib/linux.js @@ -90,7 +90,7 @@ async function getWindowInformation(windowId) { ]); const data = parseLinux({ - windowId, + activeWindowId: windowId, boundsStdout, stdout }); @@ -108,7 +108,7 @@ function getWindowInformationSync(windowId) { const boundsStdout = childProcess.execFileSync(xwininfoBin, [...xpropDetailsArgs, windowId], {encoding: 'utf8'}); const data = parseLinux({ - windowId, + activeWindowId: windowId, boundsStdout, stdout });