Skip to content

Commit

Permalink
fix: Correctly pass activeWindowId into parseLinux
Browse files Browse the repository at this point in the history
  • Loading branch information
jyboudreau committed Oct 17, 2023
1 parent 27221e5 commit daa3896
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/linux.js
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ async function getWindowInformation(windowId) {
]);

const data = parseLinux({
windowId,
activeWindowId: windowId,
boundsStdout,
stdout
});
Expand All @@ -108,7 +108,7 @@ function getWindowInformationSync(windowId) {
const boundsStdout = childProcess.execFileSync(xwininfoBin, [...xpropDetailsArgs, windowId], {encoding: 'utf8'});

const data = parseLinux({
windowId,
activeWindowId: windowId,
boundsStdout,
stdout
});
Expand Down

0 comments on commit daa3896

Please sign in to comment.