mirror of
https://github.com/NickHu/sway
synced 2024-11-16 19:49:56 +01:00
Remove extraneous logging from swaygrab
This commit is contained in:
parent
8b1de6df30
commit
4916e30378
1 changed files with 0 additions and 1 deletions
|
@ -107,7 +107,6 @@ void grab_and_apply_movie_magic(const char *file, const char *output,
|
||||||
double fts = (double)finish.tv_sec + 1.0e-9*finish.tv_nsec;
|
double fts = (double)finish.tv_sec + 1.0e-9*finish.tv_nsec;
|
||||||
double sts = (double)start.tv_sec + 1.0e-9*start.tv_nsec;
|
double sts = (double)start.tv_sec + 1.0e-9*start.tv_nsec;
|
||||||
long diff = (fts - sts) * 1000000000;
|
long diff = (fts - sts) * 1000000000;
|
||||||
sway_log(L_INFO, "%f %f %ld", sts, fts, diff);
|
|
||||||
ts.tv_nsec = ns - diff;
|
ts.tv_nsec = ns - diff;
|
||||||
if (ts.tv_nsec < 0) {
|
if (ts.tv_nsec < 0) {
|
||||||
ts.tv_nsec = 0;
|
ts.tv_nsec = 0;
|
||||||
|
|
Loading…
Reference in a new issue