diff options
author | Peter Hutterer <peter@cs.unisa.edu.au> | 2008-01-18 18:48:46 +1030 |
---|---|---|
committer | Peter Hutterer <peter@cs.unisa.edu.au> | 2008-01-18 18:48:46 +1030 |
commit | 883811c2bed9c6fcb706effbf83ddc97518b6f0c (patch) | |
tree | 8a7347c620dbcf57af6337e11f14df91fe63cc40 /dix/dispatch.c | |
parent | 6e17184486c4309ec8b47c7cfd11fef60bb360ac (diff) |
dix: remove inputInfo.pointer reference in TryClientEvents.
Unfortunately, this requires a change in the TCE API, and thus a change in all
callers. Tough luck.
Diffstat (limited to 'dix/dispatch.c')
-rw-r--r-- | dix/dispatch.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/dix/dispatch.c b/dix/dispatch.c index b3816a51e..a555aa1b8 100644 --- a/dix/dispatch.c +++ b/dix/dispatch.c @@ -1023,7 +1023,8 @@ ProcSetSelectionOwner(ClientPtr client) event.u.selectionClear.time = time.milliseconds; event.u.selectionClear.window = CurrentSelections[i].window; event.u.selectionClear.atom = CurrentSelections[i].selection; - (void) TryClientEvents (CurrentSelections[i].client, &event, 1, + TryClientEvents (CurrentSelections[i].client, NULL, + &event, 1, NoEventMask, NoEventMask /* CantBeFiltered */, NullGrab); } @@ -1158,7 +1159,7 @@ ProcConvertSelection(ClientPtr client) event.u.selectionRequest.target = stuff->target; event.u.selectionRequest.property = stuff->property; if (TryClientEvents( - CurrentSelections[i].client, &event, 1, NoEventMask, + CurrentSelections[i].client, NULL, &event, 1, NoEventMask, NoEventMask /* CantBeFiltered */, NullGrab)) return (client->noClientException); } @@ -1168,8 +1169,8 @@ ProcConvertSelection(ClientPtr client) event.u.selectionNotify.selection = stuff->selection; event.u.selectionNotify.target = stuff->target; event.u.selectionNotify.property = None; - (void) TryClientEvents(client, &event, 1, NoEventMask, - NoEventMask /* CantBeFiltered */, NullGrab); + TryClientEvents(client, NULL, &event, 1, NoEventMask, + NoEventMask /* CantBeFiltered */, NullGrab); return (client->noClientException); } else |