summaryrefslogtreecommitdiffhomepage
path: root/variant
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2018-12-24 19:12:32 +0100
committerStanislaw Halik <sthalik@misaki.pl>2018-12-24 19:32:11 +0100
commit2dde6a085f459f8aee5a868ef7a7dcc591af18f0 (patch)
tree0d59a4d36b348e389d4917325aa73f575037adf5 /variant
parentd4f6dbfa5ff186339f83fe3cf9e191d302b136e4 (diff)
{opentrack,trackmouse}: fix ps3eye led workaround
Diffstat (limited to 'variant')
-rw-r--r--variant/default/main-window.cpp1
-rw-r--r--variant/trackmouse/window.cpp1
2 files changed, 2 insertions, 0 deletions
diff --git a/variant/default/main-window.cpp b/variant/default/main-window.cpp
index 11d3eb97..9deb48c4 100644
--- a/variant/default/main-window.cpp
+++ b/variant/default/main-window.cpp
@@ -339,6 +339,7 @@ main_window::~main_window()
if (work)
{
stop_tracker_();
+ close();
constexpr int inc = 100, max = 2000;
diff --git a/variant/trackmouse/window.cpp b/variant/trackmouse/window.cpp
index fc0c7419..d6c8a8dd 100644
--- a/variant/trackmouse/window.cpp
+++ b/variant/trackmouse/window.cpp
@@ -184,6 +184,7 @@ main_window::~main_window()
if (work)
{
stop_tracker_();
+ close();
constexpr int inc = 100, max = 2000;