diff options
author | Friedrich Schöller <code@schoeller.se> | 2015-01-23 22:31:04 +0100 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2015-01-27 12:29:52 +1000 |
commit | 4a90910895e627153ce9215285e1a443cf118d0e (patch) | |
tree | db645efe5cc7b14bd1aecd36512f42484f738125 /tools/event-gui.c | |
parent | 0afd0b792fb9c244442ac4532ceeaa9565dd1928 (diff) |
tools: Use correct event axis in debugging GUI
Vertical axis values were used for the horizontal axis as well.
Introduced 1baf109b40e5d610cb46d313d7c412419af8c9e0
Signed-off-by: Friedrich Schöller <code@schoeller.se>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'tools/event-gui.c')
-rw-r--r-- | tools/event-gui.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/event-gui.c b/tools/event-gui.c index 4f9d7e6..e574bf7 100644 --- a/tools/event-gui.c +++ b/tools/event-gui.c @@ -370,7 +370,7 @@ handle_event_axis(struct libinput_event *ev, struct window *w) w->vy = clip(w->vy, 0, w->height); } if (h != 0.0) { - w->hx += (int)v; + w->hx += (int)h; w->hx = clip(w->hx, 0, w->width); } } |