Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Make timers local so that they don't mangle each others.

  • Loading branch information...
commit 1de8b879f60311461a7a35f0a38c4ab9b0b969b8 1 parent d7abba7
Vincent Bernat vincentbernat authored committed
Showing with 2 additions and 0 deletions.
  1. +2 −0  init.lua
2  init.lua
View
@@ -393,6 +393,7 @@ function add(args)
-- from being rendered until input
awful.tag.setproperty(t, "initial", true)
local f
+ local tmr
if args.position then
f = function() rename(t, args.rename, true); tmr:stop() end
else
@@ -770,6 +771,7 @@ function sweep()
not awful.tag.getproperty(t, "leave_kills") then
local delay = awful.tag.getproperty(t, "sweep_delay")
if delay then
+ local tmr
local f = function()
del(t); tmr:stop()
end
Please sign in to comment.
Something went wrong with that request. Please try again.