summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2011-11-08 14:00:51 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2011-11-08 14:00:51 +1000
commitb357a56520a7e5bc1e2738b4c9020e9a18b0a3f6 (patch)
tree79cb9607850b5504d7c2f53fe464d5dcb4103a9f
parent0a6a38e56e34112240c6f2edb2296f0f07234292 (diff)
Print before painting, helps to debug errors
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-rw-r--r--multitouch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/multitouch.c b/multitouch.c
index 360f241..a729ef2 100644
--- a/multitouch.c
+++ b/multitouch.c
@@ -539,8 +539,8 @@ static int main_loop(struct multitouch *mt)
cookie->type == GenericEvent &&
cookie->extension == mt->xi_opcode)
{
- paint_event(mt, cookie->data);
print_event(mt, cookie->data);
+ paint_event(mt, cookie->data);
}
XFreeEventData(mt->dpy, cookie);