diff options
author | marha <marha@users.sourceforge.net> | 2011-06-15 16:59:33 +0200 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2011-06-15 16:59:33 +0200 |
commit | 6cba1e57f303d9b90add32c5e942375826fb1ab2 (patch) | |
tree | 1b2a17f873c059ed5eb1f153d1ed6b765d9ef315 /xorg-server/Xi | |
parent | ffc346f9ce29ccafb3b8108450bcff27d04e3b91 (diff) | |
parent | 0e661faf8cf2e3460b5e2389414f99c035ad4d6a (diff) | |
download | vcxsrv-6cba1e57f303d9b90add32c5e942375826fb1ab2.tar.gz vcxsrv-6cba1e57f303d9b90add32c5e942375826fb1ab2.tar.bz2 vcxsrv-6cba1e57f303d9b90add32c5e942375826fb1ab2.zip |
Merge remote-tracking branch 'origin/released'
Conflicts:
mesalib/docs/news.html
mesalib/docs/relnotes.html
mesalib/src/mesa/state_tracker/st_atom_blend.c
mesalib/src/mesa/state_tracker/st_draw.c
xorg-server/Xi/exevents.c
xorg-server/dix/events.c
xorg-server/include/dix.h
Diffstat (limited to 'xorg-server/Xi')
-rw-r--r-- | xorg-server/Xi/exevents.c | 29 |
1 files changed, 1 insertions, 28 deletions
diff --git a/xorg-server/Xi/exevents.c b/xorg-server/Xi/exevents.c index 065b1c4cd..baecb8147 100644 --- a/xorg-server/Xi/exevents.c +++ b/xorg-server/Xi/exevents.c @@ -878,33 +878,6 @@ UpdateDeviceState(DeviceIntPtr device, DeviceEvent* event) return DEFAULT;
}
-static void
-ProcessRawEvent(RawDeviceEvent *ev, DeviceIntPtr device)
-{
- GrabPtr grab = device->deviceGrab.grab;
-
- if (grab)
- DeliverGrabbedEvent((InternalEvent*)ev, device, FALSE);
- else { /* deliver to all root windows */
- xEvent *xi;
- int i;
-
- i = EventToXI2((InternalEvent*)ev, (xEvent**)&xi);
- if (i != Success)
- {
- ErrorF("[Xi] %s: XI2 conversion failed in %s (%d)\n",
- __FUNCTION__, device->name, i);
- return;
- }
-
- for (i = 0; i < screenInfo.numScreens; i++)
- if (screenInfo.screens[i] && screenInfo.screens[i]->root)
- DeliverEventsToWindow(device, screenInfo.screens[i]->root, xi, 1,
- GetEventFilter(device, xi), NULL);
- free(xi);
- }
-}
-
/**
* Main device event processing function.
* Called from when processing the events from the event queue.
@@ -932,7 +905,7 @@ ProcessOtherEvent(InternalEvent *ev, DeviceIntPtr device) ev->any.type == ET_RawButtonRelease ||
ev->any.type == ET_RawMotion)
{
- ProcessRawEvent(&ev->raw_event, device);
+ DeliverRawEvent(&ev->raw_event, device);
return;
}
|