Xi: fix comment - XI2 grabs aren't keysym grabs

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@who-t.net>
Reviewed-by: Keith Packard <keithp@keithp.com>
This commit is contained in:
Peter Hutterer 2013-02-15 11:19:10 +10:00
parent 2746c68163
commit 27b11f5c19

View File

@ -2222,8 +2222,7 @@ GrabButton(ClientPtr client, DeviceIntPtr dev, DeviceIntPtr modifier_device,
} }
/** /**
* Grab the given key. If grabtype is XI, the key is a keycode. If * Grab the given key.
* grabtype is XI2, the key is a keysym.
*/ */
int int
GrabKey(ClientPtr client, DeviceIntPtr dev, DeviceIntPtr modifier_device, GrabKey(ClientPtr client, DeviceIntPtr dev, DeviceIntPtr modifier_device,