bioe007 / awesome-shifty

Dynamic tagging library for awesome window manager
61 stars 29 forks source link

sweep_delay and "timer not started" #13

Closed vincentbernat closed 11 years ago

vincentbernat commented 11 years ago

Hi!

When using sweep_delay, we can get a continuous warning about "timer not started". To reproduce this, switch to a new tag, open a terminal, close it, then switch to another tag before the sweep delay is hit. When the tag is sweeped, we get a continuous warning about "timer not started".

To fix this, make "tmr" variable local.

bioe007 commented 11 years ago

Thanks for the feedback.

I'm not actually using awesome at the moment so a patch would welcomed.

vincentbernat commented 11 years ago

Here it is: https://gist.github.com/3861537

bioe007 commented 11 years ago

Hopefully this is fixed by 1de8b879f60311461a7a35f0a38c4ab9b0b969b8

Many thanks Vincent!