No functional changes.

Signed-off-by: Peter Hutterer <peter.hutte...@who-t.net>
---
sorry, this was just bothering me...

 src/wcmUSB.c | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

diff --git a/src/wcmUSB.c b/src/wcmUSB.c
index e192489..4661591 100644
--- a/src/wcmUSB.c
+++ b/src/wcmUSB.c
@@ -139,16 +139,16 @@ usbStart(InputInfoPtr pInfo)
        int err;
 
        if (xf86CheckBoolOption(pInfo->options, "GrabDevice", 0))
-         {
-           /* Try to grab the event device so that data don't leak to 
/dev/input/mice */
-           SYSCALL(err = ioctl(pInfo->fd, EVIOCGRAB, (pointer)1));
-
-           /* this is called for all tools, so all but the first one fails with
-            * EBUSY */
-           if (err < 0 && errno != EBUSY)
-               xf86Msg(X_ERROR, "%s: Wacom X driver can't grab event device 
(%s)\n",
+       {
+               /* Try to grab the event device so that data don't leak to 
/dev/input/mice */
+               SYSCALL(err = ioctl(pInfo->fd, EVIOCGRAB, (pointer)1));
+
+               /* this is called for all tools, so all but the first one fails 
with
+                * EBUSY */
+               if (err < 0 && errno != EBUSY)
+                       xf86Msg(X_ERROR, "%s: Wacom X driver can't grab event 
device (%s)\n",
                                pInfo->name, strerror(errno));
-         }
+       }
        return Success;
 }
 
-- 
1.8.0.2


------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
Linuxwacom-devel mailing list
Linuxwacom-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel

Reply via email to