diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2009-05-07 16:52:31 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2009-05-08 14:33:44 +1000 |
commit | bae070914fc27db122e6131ae4838559c4a72f65 (patch) | |
tree | 7e92d1103a2013b3b70fb6c4e916a6010fdc44d5 /Xi/xipassivegrab.c | |
parent | 83f32d3972b8bfb0a87069dfb3fcd64b6b7c6424 (diff) |
input: update to inputproto 1.9.99.8 XI2 defines.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'Xi/xipassivegrab.c')
-rw-r--r-- | Xi/xipassivegrab.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/Xi/xipassivegrab.c b/Xi/xipassivegrab.c index 61f36d268..0a6f0e517 100644 --- a/Xi/xipassivegrab.c +++ b/Xi/xipassivegrab.c @@ -93,8 +93,8 @@ ProcXIPassiveGrabDevice(ClientPtr client) if (ret != Success) return ret; - if (stuff->grab_type != GrabtypeButton && - stuff->grab_type != GrabtypeKeysym) + if (stuff->grab_type != XIGrabtypeButton && + stuff->grab_type != XIGrabtypeKeysym) { client->errorValue = stuff->grab_type; return BadValue; @@ -149,11 +149,11 @@ ProcXIPassiveGrabDevice(ClientPtr client) param.modifiers = *modifiers; switch(stuff->grab_type) { - case GrabtypeButton: + case XIGrabtypeButton: status = GrabButton(client, dev, mod_dev, stuff->detail, ¶m, GRABTYPE_XI2, &mask); break; - case GrabtypeKeysym: + case XIGrabtypeKeysym: status = GrabKey(client, dev, mod_dev, stuff->detail, ¶m, GRABTYPE_XI2, &mask); break; @@ -231,8 +231,8 @@ ProcXIPassiveUngrabDevice(ClientPtr client) if (rc != Success) return rc; - if (stuff->grab_type != GrabtypeButton && - stuff->grab_type != GrabtypeKeysym) + if (stuff->grab_type != XIGrabtypeButton && + stuff->grab_type != XIGrabtypeKeysym) { client->errorValue = stuff->grab_type; return BadValue; @@ -250,7 +250,7 @@ ProcXIPassiveUngrabDevice(ClientPtr client) tempGrab.device = dev; tempGrab.window = win; tempGrab.type = - (stuff->grab_type == GrabtypeButton) ? XI_ButtonPress : XI_KeyPress; + (stuff->grab_type == XIGrabtypeButton) ? XI_ButtonPress : XI_KeyPress; tempGrab.grabtype = GRABTYPE_XI2; tempGrab.modifierDevice = mod_dev; tempGrab.modifiersDetail.pMask = NULL; |