summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/mtview.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mtview.c b/src/mtview.c
index 8891987..f62d64d 100644
--- a/src/mtview.c
+++ b/src/mtview.c
@@ -55,6 +55,8 @@ static void output_touch(struct touch_dev *dev, struct windata *w,
55 if (t->touch_major > 0 || t->touch_minor > 0) { 55 if (t->touch_major > 0 || t->touch_minor > 0) {
56 major = t->touch_major; 56 major = t->touch_major;
57 minor = t->touch_minor; 57 minor = t->touch_minor;
58 if (major && !minor)
59 minor = major;
58 angle = touch_angle(dev, t->orientation); 60 angle = touch_angle(dev, t->orientation);
59 } 61 }
60 62