Open sarg opened 7 years ago
Getting the same effect. My guess is that we're considered active in a window for cutoff
seconds even after we've left it.
Are you using a tiling window manager? Your software seems similar to the software I use (st, luakit, Emacs, etc). If we're both using a tiling window manager, maybe that has something to do with it. Maybe flipping through windows, even if we don't stop to do anything in them, makes selfspy count that window as active, which would cause a bunch of windows to accrue more active time than they should.
I am issuing command
stats.py --pactive
two times in a row and expect to see nearly the same result. The only difference should be that currently active window is increasing it's usage time by few seconds.Instead I see that many windows are increasing theirs usage time.
Seems that the
cutoff
parameter is messing with the results.