HomeSort by: relevance | last modified time | path
    Searched refs:gesture (Results 1 - 8 of 8) sorted by relevancy

  /xsrc/external/mit/xorg-server/dist/dix/
gestures.c 62 * Given an event type returns the associated gesture event info.
67 GestureClassPtr g = dev->gesture;
70 if (!g || type_to_expect == 0 || !g->gesture.active ||
71 g->gesture.type != type_to_expect) {
75 return &g->gesture;
79 * Sets up gesture info for a new gesture. Returns NULL on failure.
84 GestureClassPtr g = dev->gesture;
87 /* Note that we ignore begin events when an existing gesture is active */
88 if (!g || gesture_type == 0 || g->gesture.active
    [all...]
devices.c 1715 * Sets up gesture capabilities on @device.
1725 BUG_RETURN_VAL(device->gesture != NULL, FALSE);
1733 GestureInitGestureInfo(&g->gesture);
1735 device->gesture = g;
events.c 1557 * Update gesture records when an explicit grab is activated. Any gestures owned
1564 if (!mouse->gesture || mouse->deviceGrab.fromPassiveGrab)
1567 GestureInfoPtr gi = &mouse->gesture->gesture;
1576 /* if the listener already got any events relating to the gesture, we must send
1577 a gesture end because the grab overrides the previous listener and won't
1578 itself send any gesture events.
1703 /* in case of explicit gesture grab, send end event to the grab client */
1704 if (!wasPassive && mouse->gesture) {
1705 GestureInfoPtr gi = &mouse->gesture->gesture
    [all...]
getevents.c 2137 * Get events for a pinch or swipe gesture.
2146 * @prama num_touches The number of touches in the gesture
2150 * @param scale (valid only to pinch events) absolute scale of a pinch gesture
2162 GestureClassPtr g = dev->gesture;
  /xsrc/external/mit/xorg-server/dist/Xi/
xiquerydevice.c 240 if (dev->gesture)
477 * applications, we instead report Gesture device class only if the client advertised support
490 * List gesture information
495 ListGestureInfo(DeviceIntPtr dev, xXIGestureInfo * gesture)
497 gesture->type = XIGestureClass;
498 gesture->length = sizeof(xXIGestureInfo) >> 2;
499 gesture->sourceid = dev->gesture->sourceid;
500 gesture->num_touches = dev->gesture->max_touches
    [all...]
exevents.c 698 if (from->gesture) {
699 if (!to->gesture) {
701 to->gesture = classes->gesture;
702 if (!to->gesture) {
703 if (!InitGestureClassDeviceStruct(to, from->gesture->max_touches))
707 classes->gesture = NULL;
710 to->gesture->sourceid = from->gesture->sourceid;
711 /* to->gesture->gesture is separate on the master, don't copy *
    [all...]
  /xsrc/external/mit/xorg-server/dist/include/
inputstr.h 357 * events for this gesture */
365 int sourceid; /* Source device's ID for this gesture */
366 Bool active; /* whether or not the gesture is active */
367 uint8_t type; /* Gesture type: either ET_GesturePinchBegin or
369 int num_touches; /* The number of touches in the gesture */
377 GestureInfoRec gesture; member in struct:_GestureClassRec
464 GestureClassPtr gesture; member in struct:_ClassesRec
580 GestureClassPtr gesture; member in struct:_DeviceIntRec
input.h 662 extern Bool GestureInitGestureInfo(GestureInfoPtr gesture);

Completed in 30 milliseconds