From 94272fcb4b3ae3b937376597548ebb25e25650aa Mon Sep 17 00:00:00 2001 From: Ryan Huffman Date: Wed, 10 Jun 2009 12:15:06 -0700 Subject: [PATCH] Off control handler breaking incorrectly --- src/tuio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tuio.c b/src/tuio.c index 68ae0f5..bf7a84a 100644 --- a/src/tuio.c +++ b/src/tuio.c @@ -208,7 +208,7 @@ TuioControl(DeviceIntPtr device, case DEVICE_OFF: xf86Msg(X_INFO, "%s: Off.\n", pInfo->name); - if (device->public.on) + if (!device->public.on) break; xf86RemoveEnabledDevice(pInfo); -- 2.11.4.GIT