Lines Matching refs:event
37 * event will the author be liable for any lost revenue or profits or
345 XEvent event;
378 XNextEvent(dsp, &event);
379 switch (event.type) {
381 len = XLookupString((XKeyEvent *) & event, keystr, 20, NULL, NULL);
395 * keeps the Xlib event buffer from growing larger than all
402 KeyPressMask | KeyReleaseMask, &event);
435 * keeps the Xlib event buffer from growing larger than all
442 KeyPressMask | KeyReleaseMask, &event);
449 if (((XButtonEvent *) & event)->window == icon[screen]) {
456 if (event.xvisibility.state != VisibilityUnobscured) {
474 fprintf(stderr, "%s: unexpected event: %d\n",
475 ProgramName, event.type);
667 adt_event_data_t *event; /* audit event handle */
676 if ((event = adt_alloc_event(ah, ADT_screenlock)) == NULL) {
681 if (adt_put_event(event, ADT_SUCCESS, ADT_SUCCESS) != 0) {
686 adt_free_event(event);
705 adt_event_data_t *event; /* audit event handle */
713 if ((event = adt_alloc_event(ah, ADT_screenunlock)) == NULL) {
718 if (adt_put_event(event,
727 adt_free_event(event);
745 adt_event_data_t *event; /* audit event handle */
753 if ((event = adt_alloc_event(ah, ADT_passwd)) == NULL) {
758 if (adt_put_event(event,
767 adt_free_event(event);
1093 XEvent event;
1104 XNextEvent(dsp, &event);
1106 if (event.type == VisibilityNotify)
1107 XRaiseWindow(dsp, event.xany.window);
1109 } while (event.type != ButtonPress && event.type != KeyPress);
1111 if (event.xbutton.root == RootWindow(dsp, screen))
1114 XPutBackEvent(dsp, &event);