plugins/shakecursor: Use std::deque to store history
It's more suitable for the task. The ShakeDetector constantly adds new items at the end of the list and pops old items at the front.
(cherry picked from commit 74a193d3)
It's more suitable for the task. The ShakeDetector constantly adds new items at the end of the list and pops old items at the front.
(cherry picked from commit 74a193d3)