aboutsummaryrefslogtreecommitdiffstats
path: root/init.lua
diff options
context:
space:
mode:
authorTeddy Wing2019-11-07 22:12:55 +0100
committerTeddy Wing2019-11-07 22:12:55 +0100
commitfd6c28f6aa96392b5ef5edde9c31a1ec52329c6b (patch)
tree8571f06e57d8b1257eeccf5ea60251c43454a077 /init.lua
parentab8d4c637552a1aa9db480fd4f7f60c8a47b80c3 (diff)
downloaddothammerspoon-fd6c28f6aa96392b5ef5edde9c31a1ec52329c6b.tar.bz2
window_layout: Fix error when saved window not found
Saw this error when a saved window ID doesn't exist: 2019-11-07 16:25:03: 16:25:03 ERROR: LuaSkin: hs.screen.watcher callback: $HOME/.hammerspoon/window_layout.lua:39: attempt to index a nil value stack traceback: $HOME/.hammerspoon/window_layout.lua:39: in upvalue 'window_positions_restore' $HOME/.hammerspoon/window_layout.lua:52: in function </$HOME/.hammerspoon/window_layout.lua:51> This could be when a saved window was closed, in which case we don't care that its position can't be restored.
Diffstat (limited to 'init.lua')
0 files changed, 0 insertions, 0 deletions