From 3f801ba62ac493d4aeb664a5ae638e3fb0c9a262 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Fri, 13 Mar 2009 16:23:50 +1000 Subject: xkb: the VCP can post device events, don't stop xkb filtering on it. --- xkb/xkbActions.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'xkb') diff --git a/xkb/xkbActions.c b/xkb/xkbActions.c index 7d17ad4f7..f3fcef05e 100644 --- a/xkb/xkbActions.c +++ b/xkb/xkbActions.c @@ -964,7 +964,7 @@ int button; if (filter->keycode==0) { /* initial press */ _XkbLookupButtonDevice(&dev, pAction->devbtn.device, serverClient, DixUnknownAccess, &button); - if (!dev || !dev->public.on || dev == inputInfo.pointer) + if (!dev || !dev->public.on) return 1; button= pAction->devbtn.button; @@ -1005,7 +1005,7 @@ int button; filter->active= 0; _XkbLookupButtonDevice(&dev, filter->upAction.devbtn.device, serverClient, DixUnknownAccess, &button); - if (!dev || !dev->public.on || dev == inputInfo.pointer) + if (!dev || !dev->public.on) return 1; button= filter->upAction.btn.button; -- cgit v1.2.3