Lines Matching refs:device_event
1406 event_set_state(dev, kbd, &ptrev->device_event); in DeliverTouchEmulatedEvent()
1407 ptrev->device_event.corestate = event_get_corestate(dev, kbd); in DeliverTouchEmulatedEvent()
1434 !(ev->device_event.flags & TOUCH_CLIENT_ID)) in DeliverTouchEmulatedEvent()
1464 *dev->deviceGrab.sync.event = ev->device_event; in DeliverTouchEmulatedEvent()
1506 motion = ev->device_event; in DeliverEmulatedMotionEvent()
1545 int emulate_pointer = ! !(ev->device_event.flags & TOUCH_POINTER_EMULATED); in ProcessTouchEvent()
1551 touchid = ev->device_event.touchid; in ProcessTouchEvent()
1553 if (type == ET_TouchBegin && !(ev->device_event.flags & TOUCH_REPLAYING)) { in ProcessTouchEvent()
1554 ti = TouchBeginTouch(dev, ev->device_event.sourceid, touchid, in ProcessTouchEvent()
1583 ti = TouchBeginTouch(dev, ev->device_event.sourceid, touchid, in ProcessTouchEvent()
1610 CheckMotion(&ev->device_event, dev); in ProcessTouchEvent()
1613 event_set_state(NULL, kbd, &ev->device_event); in ProcessTouchEvent()
1614 ev->device_event.corestate = event_get_corestate(NULL, kbd); in ProcessTouchEvent()
1621 !(ev->device_event.flags & TOUCH_REPLAYING) && in ProcessTouchEvent()
1626 TouchCopyValuatorData(&ev->device_event, ti); in ProcessTouchEvent()
1630 DeliverTouchEvents(dev, ti, ev, ev->device_event.resource); in ProcessTouchEvent()
1636 UpdateDeviceState(dev, &ev->device_event); in ProcessTouchEvent()
1695 DeviceEvent *event = &ev->device_event; in ProcessDeviceEvent()
1759 ev->device_event.root = pSprite->hotPhys.pScreen->root->drawable.id; in ProcessDeviceEvent()
1969 if (ev->device_event.flags & TOUCH_REJECT || in DeliverTouchEndEvent()
1970 (ev->device_event.flags & TOUCH_ACCEPT && !TouchResourceIsOwner(ti, listener->listener))) { in DeliverTouchEndEvent()
1977 Bool normal_end = !(ev->device_event.flags & TOUCH_ACCEPT); in DeliverTouchEndEvent()
1985 (ev->device_event.flags & (TOUCH_ACCEPT | TOUCH_REJECT)) == 0) { in DeliverTouchEndEvent()
1987 ev->device_event.flags |= TOUCH_PENDING_END; in DeliverTouchEndEvent()
2021 ev->device_event.deviceid = dev->id; in DeliverTouchEvent()
2060 !(ev->device_event.flags & (TOUCH_CLIENT_ID | TOUCH_REPLAYING))) in DeliverTouchEvents()
2063 TouchEventHistoryPush(ti, &ev->device_event); in DeliverTouchEvents()