diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2011-12-08 14:27:01 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2011-12-13 13:24:08 +1000 |
commit | 218752bdc5d9323d1e6202e762573a925cf8a4eb (patch) | |
tree | 7613d317f6306fdc03ff32c94b2657b1e3987d0a /Xi/ungrdev.c | |
parent | cd56bd7b3ee34a4b10eb3a57a6e94cac7512167a (diff) |
input: replace GRABTYPE_* with the InputLevel enums
They achieve the same thing, re-use the more generic InputLevel so we can
convert to/fro easier.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Chase Douglas <chase.douglas@canonical.com>
Diffstat (limited to 'Xi/ungrdev.c')
-rw-r--r-- | Xi/ungrdev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Xi/ungrdev.c b/Xi/ungrdev.c index bc66cfc4b..58c1f57ef 100644 --- a/Xi/ungrdev.c +++ b/Xi/ungrdev.c @@ -102,7 +102,7 @@ ProcXUngrabDevice(ClientPtr client) time = ClientTimeToServerTime(stuff->time); if ((CompareTimeStamps(time, currentTime) != LATER) && (CompareTimeStamps(time, dev->deviceGrab.grabTime) != EARLIER) && - (grab) && SameClient(grab, client) && grab->grabtype == GRABTYPE_XI) + (grab) && SameClient(grab, client) && grab->grabtype == XI) (*dev->deviceGrab.DeactivateGrab) (dev); return Success; } |