1XEVIE(3) Library Functions Manual XEVIE(3)
2
3
4
6 Xevie - X Event Interception Extension (XEvIE)
7
9 #include <X11/extensions/Xevie.h>
10
11 Status XevieQueryVersion (Display *dpy,
12 int *major_versionp,
13 int *minor_versionp);
14
15 Status XevieStart (Display *dpy);
16
17 Status XevieSelectInput (Display *dpy,
18 long event_mask);
19
20 Status XevieSendEvent (Display *dpy,
21 XEvent *event,
22 char *fIdataType);
23
24 Status XevieEnd (Display *dpy);
25
26
27
29 display Specifies the connection to the X server.
30
31 event_mask
32 Specifies the mask of events to redirect.
33
34 datatype
35
36 XEVIE_MODIFIED or XEVIE_UNMODIFIED - whether the Xevie client
37 has changed or synthesised this event.
38
39
41 X Event Interception Extension (XEvIE) is designed for users who need
42 to intercept all the Keyboard and Mouse events. Programs can determine
43 which events should be forwarded to other clients and modify the events
44 if necessary.
45
47 XevieQueryVersion The XevieQueryVersion function returns the major and
48 minor protocol version numbers supported by the server. XevieQueryVer‐
49 sion returns True if success, otherwise, it returns False.
50
51 XevieStart The XevieStart function requests that the X server enable
52 the XEvIE extension. Once XEvIE is successfully enabled, all the
53 XevieSelectInput specified events will be sent to the client which has
54 enabled XEvIE. If XKB or AccessX is enabled, the events that are sent
55 to the XEvIE clients are XKB/AccessX processed (filtered) ones.
56
57 XevieSendEvent Events are sent back to the X server through XevieSendE‐
58 vent.
59
60 XevieEnd The XevieEnd function requests that the X server disables the
61 XEvIE extension. Once XEvIE is disabled successfully, the X server
62 stops sending events to the XEvIE client.
63
64 XevieSelectInput The XevieSelectInput function requests that the X
65 server reports the keyboard and pointer events associated with the
66 specified event mask. By default, X will report KeyPress, KeyRelease,
67 ButtonPress, ButtonRelease and MotionNotify events.
68
69
71 Xevie will remain upward compatible after the current 1.0 release.
72
74 Derek Wang and Stuart Kreitman, Sun Microsystems, Inc.
75
76
77
78
79X Version 11 libXevie 1.0.2 XEVIE(3)