Fix a bug that positioned all windows of an app in hammerspoon

main
Steffen Rademacker 3 years ago
parent 282c035fdc
commit a9f51056a4

@ -86,7 +86,7 @@ local function applyPosition(pos)
local screenName = w:screen():name()
local tempPos = screenPositions[pos]
local tempLayout = {
{ app.frontmostApplication(), nil, screenName, tempPos, nil, nil },
{ app.frontmostApplication(), w, screenName, tempPos, nil, nil },
}
layout.apply(tempLayout)

Loading…
Cancel
Save