From daa389645e70e4d54f352380717de19ff0f1629b Mon Sep 17 00:00:00 2001 From: Jean-Yves Boudreau Date: Tue, 17 Oct 2023 00:45:07 -0400 Subject: [PATCH] fix: Correctly pass activeWindowId into parseLinux --- lib/linux.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 });