Lines Matching defs:ev

255 	register xEvent *ev;
287 STARTITERATE (ev,xEvent, buf, (pend > 0),
289 if (ev->u.u.type == X_Error)
290 _XError (dpy, (xError *) ev);
292 _XEnq (dpy, ev);
884 register XKeyEvent *ev = (XKeyEvent*) re;
885 ev->root = event->u.keyButtonPointer.root;
886 ev->window = event->u.keyButtonPointer.event;
887 ev->subwindow = event->u.keyButtonPointer.child;
888 ev->time = event->u.keyButtonPointer.time;
889 ev->x = cvtINT16toInt(event->u.keyButtonPointer.eventX);
890 ev->y = cvtINT16toInt(event->u.keyButtonPointer.eventY);
891 ev->x_root = cvtINT16toInt(event->u.keyButtonPointer.rootX);
892 ev->y_root = cvtINT16toInt(event->u.keyButtonPointer.rootY);
893 ev->state = event->u.keyButtonPointer.state;
894 ev->same_screen = event->u.keyButtonPointer.sameScreen;
895 ev->keycode = event->u.u.detail;
901 register XButtonEvent *ev = (XButtonEvent *) re;
902 ev->root = event->u.keyButtonPointer.root;
903 ev->window = event->u.keyButtonPointer.event;
904 ev->subwindow = event->u.keyButtonPointer.child;
905 ev->time = event->u.keyButtonPointer.time;
906 ev->x = cvtINT16toInt(event->u.keyButtonPointer.eventX);
907 ev->y = cvtINT16toInt(event->u.keyButtonPointer.eventY);
908 ev->x_root = cvtINT16toInt(event->u.keyButtonPointer.rootX);
909 ev->y_root = cvtINT16toInt(event->u.keyButtonPointer.rootY);
910 ev->state = event->u.keyButtonPointer.state;
911 ev->same_screen = event->u.keyButtonPointer.sameScreen;
912 ev->button = event->u.u.detail;
917 register XMotionEvent *ev = (XMotionEvent *)re;
918 ev->root = event->u.keyButtonPointer.root;
919 ev->window = event->u.keyButtonPointer.event;
920 ev->subwindow = event->u.keyButtonPointer.child;
921 ev->time = event->u.keyButtonPointer.time;
922 ev->x = cvtINT16toInt(event->u.keyButtonPointer.eventX);
923 ev->y = cvtINT16toInt(event->u.keyButtonPointer.eventY);
924 ev->x_root = cvtINT16toInt(event->u.keyButtonPointer.rootX);
925 ev->y_root = cvtINT16toInt(event->u.keyButtonPointer.rootY);
926 ev->state = event->u.keyButtonPointer.state;
927 ev->same_screen = event->u.keyButtonPointer.sameScreen;
928 ev->is_hint = event->u.u.detail;
934 register XCrossingEvent *ev = (XCrossingEvent *) re;
935 ev->root = event->u.enterLeave.root;
936 ev->window = event->u.enterLeave.event;
937 ev->subwindow = event->u.enterLeave.child;
938 ev->time = event->u.enterLeave.time;
939 ev->x = cvtINT16toInt(event->u.enterLeave.eventX);
940 ev->y = cvtINT16toInt(event->u.enterLeave.eventY);
941 ev->x_root = cvtINT16toInt(event->u.enterLeave.rootX);
942 ev->y_root = cvtINT16toInt(event->u.enterLeave.rootY);
943 ev->state = event->u.enterLeave.state;
944 ev->mode = event->u.enterLeave.mode;
945 ev->same_screen = (event->u.enterLeave.flags &
947 ev->focus = (event->u.enterLeave.flags &
949 ev->detail = event->u.u.detail;
955 register XFocusChangeEvent *ev = (XFocusChangeEvent *) re;
956 ev->window = event->u.focus.window;
957 ev->mode = event->u.focus.mode;
958 ev->detail = event->u.u.detail;
963 register XKeymapEvent *ev = (XKeymapEvent *) re;
964 ev->window = dpy->current;
966 &ev->key_vector[1],
972 register XExposeEvent *ev = (XExposeEvent *) re;
973 ev->window = event->u.expose.window;
974 ev->x = event->u.expose.x;
975 ev->y = event->u.expose.y;
976 ev->width = event->u.expose.width;
977 ev->height = event->u.expose.height;
978 ev->count = event->u.expose.count;
983 register XGraphicsExposeEvent *ev =
985 ev->drawable = event->u.graphicsExposure.drawable;
986 ev->x = event->u.graphicsExposure.x;
987 ev->y = event->u.graphicsExposure.y;
988 ev->width = event->u.graphicsExposure.width;
989 ev->height = event->u.graphicsExposure.height;
990 ev->count = event->u.graphicsExposure.count;
991 ev->major_code = event->u.graphicsExposure.majorEvent;
992 ev->minor_code = event->u.graphicsExposure.minorEvent;
997 register XNoExposeEvent *ev = (XNoExposeEvent *) re;
998 ev->drawable = event->u.noExposure.drawable;
999 ev->major_code = event->u.noExposure.majorEvent;
1000 ev->minor_code = event->u.noExposure.minorEvent;
1005 register XVisibilityEvent *ev = (XVisibilityEvent *) re;
1006 ev->window = event->u.visibility.window;
1007 ev->state = event->u.visibility.state;
1012 register XCreateWindowEvent *ev =
1014 ev->window = event->u.createNotify.window;
1015 ev->parent = event->u.createNotify.parent;
1016 ev->x = cvtINT16toInt(event->u.createNotify.x);
1017 ev->y = cvtINT16toInt(event->u.createNotify.y);
1018 ev->width = event->u.createNotify.width;
1019 ev->height = event->u.createNotify.height;
1020 ev->border_width = event->u.createNotify.borderWidth;
1021 ev->override_redirect = event->u.createNotify.override;
1026 register XDestroyWindowEvent *ev =
1028 ev->window = event->u.destroyNotify.window;
1029 ev->event = event->u.destroyNotify.event;
1034 register XUnmapEvent *ev = (XUnmapEvent *) re;
1035 ev->window = event->u.unmapNotify.window;
1036 ev->event = event->u.unmapNotify.event;
1037 ev->from_configure = event->u.unmapNotify.fromConfigure;
1042 register XMapEvent *ev = (XMapEvent *) re;
1043 ev->window = event->u.mapNotify.window;
1044 ev->event = event->u.mapNotify.event;
1045 ev->override_redirect = event->u.mapNotify.override;
1050 register XMapRequestEvent *ev = (XMapRequestEvent *) re;
1051 ev->window = event->u.mapRequest.window;
1052 ev->parent = event->u.mapRequest.parent;
1057 register XReparentEvent *ev = (XReparentEvent *) re;
1058 ev->event = event->u.reparent.event;
1059 ev->window = event->u.reparent.window;
1060 ev->parent = event->u.reparent.parent;
1061 ev->x = cvtINT16toInt(event->u.reparent.x);
1062 ev->y = cvtINT16toInt(event->u.reparent.y);
1063 ev->override_redirect = event->u.reparent.override;
1068 register XConfigureEvent *ev = (XConfigureEvent *) re;
1069 ev->event = event->u.configureNotify.event;
1070 ev->window = event->u.configureNotify.window;
1071 ev->above = event->u.configureNotify.aboveSibling;
1072 ev->x = cvtINT16toInt(event->u.configureNotify.x);
1073 ev->y = cvtINT16toInt(event->u.configureNotify.y);
1074 ev->width = event->u.configureNotify.width;
1075 ev->height = event->u.configureNotify.height;
1076 ev->border_width = event->u.configureNotify.borderWidth;
1077 ev->override_redirect = event->u.configureNotify.override;
1082 register XConfigureRequestEvent *ev =
1084 ev->window = event->u.configureRequest.window;
1085 ev->parent = event->u.configureRequest.parent;
1086 ev->above = event->u.configureRequest.sibling;
1087 ev->x = cvtINT16toInt(event->u.configureRequest.x);
1088 ev->y = cvtINT16toInt(event->u.configureRequest.y);
1089 ev->width = event->u.configureRequest.width;
1090 ev->height = event->u.configureRequest.height;
1091 ev->border_width = event->u.configureRequest.borderWidth;
1092 ev->value_mask = event->u.configureRequest.valueMask;
1093 ev->detail = event->u.u.detail;
1098 register XGravityEvent *ev = (XGravityEvent *) re;
1099 ev->window = event->u.gravity.window;
1100 ev->event = event->u.gravity.event;
1101 ev->x = cvtINT16toInt(event->u.gravity.x);
1102 ev->y = cvtINT16toInt(event->u.gravity.y);
1107 register XResizeRequestEvent *ev =
1109 ev->window = event->u.resizeRequest.window;
1110 ev->width = event->u.resizeRequest.width;
1111 ev->height = event->u.resizeRequest.height;
1116 register XCirculateEvent *ev = (XCirculateEvent *) re;
1117 ev->window = event->u.circulate.window;
1118 ev->event = event->u.circulate.event;
1119 ev->place = event->u.circulate.place;
1124 register XCirculateRequestEvent *ev =
1126 ev->window = event->u.circulate.window;
1127 ev->parent = event->u.circulate.event;
1128 ev->place = event->u.circulate.place;
1133 register XPropertyEvent *ev = (XPropertyEvent *) re;
1134 ev->window = event->u.property.window;
1135 ev->atom = event->u.property.atom;
1136 ev->time = event->u.property.time;
1137 ev->state = event->u.property.state;
1142 register XSelectionClearEvent *ev =
1144 ev->window = event->u.selectionClear.window;
1145 ev->selection = event->u.selectionClear.atom;
1146 ev->time = event->u.selectionClear.time;
1151 register XSelectionRequestEvent *ev =
1153 ev->owner = event->u.selectionRequest.owner;
1154 ev->requestor = event->u.selectionRequest.requestor;
1155 ev->selection = event->u.selectionRequest.selection;
1156 ev->target = event->u.selectionRequest.target;
1157 ev->property = event->u.selectionRequest.property;
1158 ev->time = event->u.selectionRequest.time;
1163 register XSelectionEvent *ev = (XSelectionEvent *) re;
1164 ev->requestor = event->u.selectionNotify.requestor;
1165 ev->selection = event->u.selectionNotify.selection;
1166 ev->target = event->u.selectionNotify.target;
1167 ev->property = event->u.selectionNotify.property;
1168 ev->time = event->u.selectionNotify.time;
1173 register XColormapEvent *ev = (XColormapEvent *) re;
1174 ev->window = event->u.colormap.window;
1175 ev->colormap = event->u.colormap.colormap;
1176 ev->new = event->u.colormap.new;
1177 ev->state = event->u.colormap.state;
1183 register XClientMessageEvent *ev
1185 ev->window = event->u.clientMessage.window;
1186 ev->format = event->u.u.detail;
1187 switch (ev->format) {
1189 ev->message_type = event->u.clientMessage.u.b.type;
1191 ev->data.b[i] = event->u.clientMessage.u.b.bytes[i];
1194 ev->message_type = event->u.clientMessage.u.s.type;
1195 ev->data.s[0] = cvtINT16toShort(event->u.clientMessage.u.s.shorts0);
1196 ev->data.s[1] = cvtINT16toShort(event->u.clientMessage.u.s.shorts1);
1197 ev->data.s[2] = cvtINT16toShort(event->u.clientMessage.u.s.shorts2);
1198 ev->data.s[3] = cvtINT16toShort(event->u.clientMessage.u.s.shorts3);
1199 ev->data.s[4] = cvtINT16toShort(event->u.clientMessage.u.s.shorts4);
1200 ev->data.s[5] = cvtINT16toShort(event->u.clientMessage.u.s.shorts5);
1201 ev->data.s[6] = cvtINT16toShort(event->u.clientMessage.u.s.shorts6);
1202 ev->data.s[7] = cvtINT16toShort(event->u.clientMessage.u.s.shorts7);
1203 ev->data.s[8] = cvtINT16toShort(event->u.clientMessage.u.s.shorts8);
1204 ev->data.s[9] = cvtINT16toShort(event->u.clientMessage.u.s.shorts9);
1207 ev->message_type = event->u.clientMessage.u.l.type;
1208 ev->data.l[0] = cvtINT32toLong(event->u.clientMessage.u.l.longs0);
1209 ev->data.l[1] = cvtINT32toLong(event->u.clientMessage.u.l.longs1);
1210 ev->data.l[2] = cvtINT32toLong(event->u.clientMessage.u.l.longs2);
1211 ev->data.l[3] = cvtINT32toLong(event->u.clientMessage.u.l.longs3);
1212 ev->data.l[4] = cvtINT32toLong(event->u.clientMessage.u.l.longs4);
1221 register XMappingEvent *ev = (XMappingEvent *)re;
1222 ev->window = 0;
1223 ev->first_keycode = event->u.mappingNotify.firstKeyCode;
1224 ev->request = event->u.mappingNotify.request;
1225 ev->count = event->u.mappingNotify.count;