diff --git a/xjiggler/xjiggler b/xjiggler/xjiggler index 0df1023..e0c27b3 100755 --- a/xjiggler/xjiggler +++ b/xjiggler/xjiggler @@ -65,7 +65,8 @@ do if test "$XJIGGLER_lastX" = "$XJIGGLER_X" \ && test "$XJIGGLER_lastY" = "$XJIGGLER_Y" then # no movement - test "$(printf '%s\n%s\n-\n' "$XJIGGLER_S" "$XJIGGLER_lastS" \ + test "$(printf '%s\n%s\n-\np\n' "$XJIGGLER_T" \ + "$XJIGGLER_lastT" \ | dc)" -gt "$XJIGGLER_ACTION_DELAY" \ || continue # hasn't been long enough rotatemousedirection; jiggle