Bug 42298

Summary: Passive keygrabs on XIAllDevices/XIAllMasterDevices are rejected
Product: xorg Reporter: Peter Hutterer <peter.hutterer>
Component: Server/Input/CoreAssignee: Xorg Project Team <xorg-team>
Status: RESOLVED FIXED QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium CC: bugzilla, peter.hutterer
Version: git   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Peter Hutterer 2011-10-26 18:47:53 UTC

    
Comment 1 Peter Hutterer 2011-10-26 18:51:01 UTC
(though shalt not hit enter)


As $SUBJECT, all passive keygrabs are rejected due to the fake XIAll(Master)Devices devices not having a KeyClassRec. This mustn't matter though, since the grab itself will never establish on the fake device anyway, only on a slave device. And that has a KeyClassRec, it can't send key events otherwise.
Comment 2 Peter Hutterer 2011-10-26 19:00:44 UTC
http://patchwork.freedesktop.org/patch/7707/
Comment 3 Peter Hutterer 2012-08-28 22:19:20 UTC
commit 22715e465b415b3351b83b8279a4f44157f63199
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date:   Thu Oct 27 11:03:39 2011 +1000

    Xi: allow passive keygrabs on the XIAll(Master)Devices fake devices

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.