[PATCH 3/3] Xi: fix comment - XI2 grabs aren't keysym grabs

Peter Hutterer peter.hutterer at who-t.net
Thu Feb 14 17:19:10 PST 2013


Comment dates back to a pre-release version of XI2 that supported keysym
grabs. That never made it into a release, it was ditched before.

Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
---
 Xi/exevents.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/Xi/exevents.c b/Xi/exevents.c
index 609b126..5e15cde 100644
--- a/Xi/exevents.c
+++ b/Xi/exevents.c
@@ -2221,8 +2221,7 @@ GrabButton(ClientPtr client, DeviceIntPtr dev, DeviceIntPtr modifier_device,
 }
 
 /**
- * Grab the given key. If grabtype is XI, the key is a keycode. If
- * grabtype is XI2, the key is a keysym.
+ * Grab the given key.
  */
 int
 GrabKey(ClientPtr client, DeviceIntPtr dev, DeviceIntPtr modifier_device,
-- 
1.8.1.2



More information about the xorg-devel mailing list