summaryrefslogtreecommitdiffstats
path: root/hacks/glx/gltrackball.c
diff options
context:
space:
mode:
Diffstat (limited to 'hacks/glx/gltrackball.c')
-rw-r--r--hacks/glx/gltrackball.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/hacks/glx/gltrackball.c b/hacks/glx/gltrackball.c
index 57b4b99..9e3314c 100644
--- a/hacks/glx/gltrackball.c
+++ b/hacks/glx/gltrackball.c
@@ -76,6 +76,13 @@ gltrackball_init (int ignore_device_rotation_p)
return ts;
}
+void
+gltrackball_free (trackball_state *ts)
+{
+ free (ts);
+}
+
+
/* Device rotation interacts very strangely with mouse positions.
I'm not entirely sure this is the right fix.
*/