summaryrefslogtreecommitdiff
path: root/man/XButtonEvent.man
diff options
context:
space:
mode:
Diffstat (limited to 'man/XButtonEvent.man')
-rw-r--r--man/XButtonEvent.man83
1 files changed, 43 insertions, 40 deletions
diff --git a/man/XButtonEvent.man b/man/XButtonEvent.man
index 062f3115..f84e95b8 100644
--- a/man/XButtonEvent.man
+++ b/man/XButtonEvent.man
@@ -40,6 +40,9 @@
.\" of this documentation for any purpose.
.\" It is provided ``as is'' without express or implied warranty.
.\"
+.\" $XFree86: xc/doc/man/X11/XButEvent.man,v 1.2 2001/01/27 18:19:56 dawes Exp $
+.\" $XdotOrg: lib/X11/man/XButtonEvent.man,v 1.2 2004-04-23 18:42:09 eich Exp $
+.\"
.ds xT X Toolkit Intrinsics \- C Language Interface
.ds xW Athena X Widgets \- C Language X Toolkit Interface
.ds xL Xlib \- C Language X Interface
@@ -138,7 +141,7 @@
.el .sp 10p
..
.ny0
-.TH XButtonEvent 3X11 "Release 6.6" "X Version 11" "XLIB FUNCTIONS"
+.TH XButtonEvent 3X11 __xorgversion__ "XLIB FUNCTIONS"
.SH NAME
XButtonEvent, XKeyEvent, XMotionEvent \- KeyPress, KeyRelease, ButtonPress, ButtonRelease, and MotionNotify event structures
.SH STRUCTURES
@@ -155,19 +158,19 @@ events contain:
.TA .5i 3i
.ta .5i 3i
typedef struct {
- int type; /* ButtonPress or ButtonRelease */
- unsigned long serial; /* # of last request processed by server */
- Bool send_event; /* true if this came from a SendEvent request */
- Display *display; /* Display the event was read from */
- Window window; /* ``event'' window it is reported relative to */
- Window root; /* root window that the event occurred on */
- Window subwindow; /* child window */
- Time time; /* milliseconds */
- int x, y; /* pointer x, y coordinates in event window */
- int x_root, y_root; /* coordinates relative to root */
- unsigned int state; /* key or button mask */
- unsigned int button; /* detail */
- Bool same_screen; /* same screen flag */
+ int type; /\(** ButtonPress or ButtonRelease */
+ unsigned long serial; /\(** # of last request processed by server */
+ Bool send_event; /\(** true if this came from a SendEvent request */
+ Display *display; /\(** Display the event was read from */
+ Window window; /\(** ``event'' window it is reported relative to */
+ Window root; /\(** root window that the event occurred on */
+ Window subwindow; /\(** child window */
+ Time time; /\(** milliseconds */
+ int x, y; /\(** pointer x, y coordinates in event window */
+ int x_root, y_root; /\(** coordinates relative to root */
+ unsigned int state; /\(** key or button mask */
+ unsigned int button; /\(** detail */
+ Bool same_screen; /\(** same screen flag */
} XButtonEvent;
typedef XButtonEvent XButtonPressedEvent;
typedef XButtonEvent XButtonReleasedEvent;
@@ -177,19 +180,19 @@ typedef XButtonEvent XButtonReleasedEvent;
.TA .5i 3i
.ta .5i 3i
typedef struct {
- int type; /* KeyPress or KeyRelease */
- unsigned long serial; /* # of last request processed by server */
- Bool send_event; /* true if this came from a SendEvent request */
- Display *display; /* Display the event was read from */
- Window window; /* ``event'' window it is reported relative to */
- Window root; /* root window that the event occurred on */
- Window subwindow; /* child window */
- Time time; /* milliseconds */
- int x, y; /* pointer x, y coordinates in event window */
- int x_root, y_root; /* coordinates relative to root */
- unsigned int state; /* key or button mask */
- unsigned int keycode; /* detail */
- Bool same_screen; /* same screen flag */
+ int type; /\(** KeyPress or KeyRelease */
+ unsigned long serial; /\(** # of last request processed by server */
+ Bool send_event; /\(** true if this came from a SendEvent request */
+ Display *display; /\(** Display the event was read from */
+ Window window; /\(** ``event'' window it is reported relative to */
+ Window root; /\(** root window that the event occurred on */
+ Window subwindow; /\(** child window */
+ Time time; /\(** milliseconds */
+ int x, y; /\(** pointer x, y coordinates in event window */
+ int x_root, y_root; /\(** coordinates relative to root */
+ unsigned int state; /\(** key or button mask */
+ unsigned int keycode; /\(** detail */
+ Bool same_screen; /\(** same screen flag */
} XKeyEvent;
typedef XKeyEvent XKeyPressedEvent;
typedef XKeyEvent XKeyReleasedEvent;
@@ -199,19 +202,19 @@ typedef XKeyEvent XKeyReleasedEvent;
.TA .5i 3i
.ta .5i 3i
typedef struct {
- int type; /* MotionNotify */
- unsigned long serial; /* # of last request processed by server */
- Bool send_event; /* true if this came from a SendEvent request */
- Display *display; /* Display the event was read from */
- Window window; /* ``event'' window reported relative to */
- Window root; /* root window that the event occurred on */
- Window subwindow; /* child window */
- Time time; /* milliseconds */
- int x, y; /* pointer x, y coordinates in event window */
- int x_root, y_root; /* coordinates relative to root */
- unsigned int state; /* key or button mask */
- char is_hint; /* detail */
- Bool same_screen; /* same screen flag */
+ int type; /\(** MotionNotify */
+ unsigned long serial; /\(** # of last request processed by server */
+ Bool send_event; /\(** true if this came from a SendEvent request */
+ Display *display; /\(** Display the event was read from */
+ Window window; /\(** ``event'' window reported relative to */
+ Window root; /\(** root window that the event occurred on */
+ Window subwindow; /\(** child window */
+ Time time; /\(** milliseconds */
+ int x, y; /\(** pointer x, y coordinates in event window */
+ int x_root, y_root; /\(** coordinates relative to root */
+ unsigned int state; /\(** key or button mask */
+ char is_hint; /\(** detail */
+ Bool same_screen; /\(** same screen flag */
} XMotionEvent;
typedef XMotionEvent XPointerMovedEvent;
.De