From 998f64c6c986feee7a745a5169152025b229c6d8 Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Sat, 4 Dec 2010 15:31:21 -0800 Subject: spec: Make event names in text hyperlinks to event definition sections Started by taking list of event names and generating a list of perl commands such as: s{^\KeyPress\}{KeyPress}g; and running that with perl -i -p /tmp/e.pl *.xml Many of those changes were then manually reverted to avoid having the same link appear multiple times in a paragraph or to avoid having the definition sections link to themselves. Signed-off-by: Alan Coopersmith --- specs/encoding.xml | 66 +++++++++++++++++++++++++++--------------------------- 1 file changed, 33 insertions(+), 33 deletions(-) (limited to 'specs/encoding.xml') diff --git a/specs/encoding.xml b/specs/encoding.xml index c703d2f..8161dc7 100644 --- a/specs/encoding.xml +++ b/specs/encoding.xml @@ -2793,7 +2793,7 @@ VISUALTYPE Events -KeyPress +KeyPress 1 2 code 1 KEYCODE detail 2 CARD16 sequence number @@ -2810,7 +2810,7 @@ VISUALTYPE 1 BOOL same-screen 1 unused -KeyRelease +KeyRelease 1 3 code 1 KEYCODE detail 2 CARD16 sequence number @@ -2827,7 +2827,7 @@ VISUALTYPE 1 BOOL same-screen 1 unused -ButtonPress +ButtonPress 1 4 code 1 BUTTON detail 2 CARD16 sequence number @@ -2844,7 +2844,7 @@ VISUALTYPE 1 BOOL same-screen 1 unused -ButtonRelease +ButtonRelease 1 5 code 1 BUTTON detail 2 CARD16 sequence number @@ -2861,7 +2861,7 @@ VISUALTYPE 1 BOOL same-screen 1 unused -MotionNotify +MotionNotify 1 6 code 1 detail 0 Normal @@ -2880,7 +2880,7 @@ VISUALTYPE 1 BOOL same-screen 1 unused -EnterNotify +EnterNotify 1 7 code 1 detail 0 Ancestor @@ -2908,7 +2908,7 @@ VISUALTYPE #x02 same-screen (1 is True, 0 is False) #xFC unused -LeaveNotify +LeaveNotify 1 8 code 1 detail 0 Ancestor @@ -2936,7 +2936,7 @@ VISUALTYPE #x02 same-screen (1 is True, 0 is False) #xFC unused -FocusIn +FocusIn 1 9 code 1 detail 0 Ancestor @@ -2956,7 +2956,7 @@ VISUALTYPE 3 WhileGrabbed 23 unused -FocusOut +FocusOut 1 10 code 1 detail 0 Ancestor @@ -2976,12 +2976,12 @@ VISUALTYPE 3 WhileGrabbed 23 unused -KeymapNotify +KeymapNotify 1 11 code 31 LISTofCARD8 keys (byte for keycodes 0-7 is omitted) -Expose +Expose 1 12 code 1 unused 2 CARD16 sequence number @@ -2993,7 +2993,7 @@ VISUALTYPE 2 CARD16 count 14 unused -GraphicsExposure +GraphicsExposure 1 13 code 1 unused 2 CARD16 sequence number @@ -3007,7 +3007,7 @@ VISUALTYPE 1 CARD8 major-opcode 11 unused -NoExposure +NoExposure 1 14 code 1 unused 2 CARD16 sequence number @@ -3016,7 +3016,7 @@ VISUALTYPE 1 CARD8 major-opcode 21 unused -VisibilityNotify +VisibilityNotify 1 15 code 1 unused 2 CARD16 sequence number @@ -3027,7 +3027,7 @@ VISUALTYPE 2 FullyObscured 23 unused -CreateNotify +CreateNotify 1 16 code 1 unused 2 CARD16 sequence number @@ -3041,7 +3041,7 @@ VISUALTYPE 1 BOOL override-redirect 9 unused -DestroyNotify +DestroyNotify 1 17 code 1 unused 2 CARD16 sequence number @@ -3049,7 +3049,7 @@ VISUALTYPE 4 WINDOW window 20 unused -UnmapNotify +UnmapNotify 1 18 code 1 unused 2 CARD16 sequence number @@ -3058,7 +3058,7 @@ VISUALTYPE 1 BOOL from-configure 19 unused -MapNotify +MapNotify 1 19 code 1 unused 2 CARD16 sequence number @@ -3067,7 +3067,7 @@ VISUALTYPE 1 BOOL override-redirect 19 unused -MapRequest +MapRequest 1 20 code 1 unused 2 CARD16 sequence number @@ -3075,7 +3075,7 @@ VISUALTYPE 4 WINDOW window 20 unused -ReparentNotify +ReparentNotify 1 21 code 1 unused 2 CARD16 sequence number @@ -3087,7 +3087,7 @@ VISUALTYPE 1 BOOL override-redirect 11 unused -ConfigureNotify +ConfigureNotify 1 22 code 1 unused 2 CARD16 sequence number @@ -3103,7 +3103,7 @@ VISUALTYPE 1 BOOL override-redirect 5 unused -ConfigureRequest +ConfigureRequest 1 23 code 1 stack-mode 0 Above @@ -3131,7 +3131,7 @@ VISUALTYPE #x0040 stack-mode 4 unused -GravityNotify +GravityNotify 1 24 code 1 unused 2 CARD16 sequence number @@ -3141,7 +3141,7 @@ VISUALTYPE 2 INT16 y 16 unused -ResizeRequest +ResizeRequest 1 25 code 1 unused 2 CARD16 sequence number @@ -3150,7 +3150,7 @@ VISUALTYPE 2 CARD16 height 20 unused -CirculateNotify +CirculateNotify 1 26 code 1 unused 2 CARD16 sequence number @@ -3162,7 +3162,7 @@ VISUALTYPE 1 Bottom 15 unused -CirculateRequest +CirculateRequest 1 27 code 1 unused 2 CARD16 sequence number @@ -3174,7 +3174,7 @@ VISUALTYPE 1 Bottom 15 unused -PropertyNotify +PropertyNotify 1 28 code 1 unused 2 CARD16 sequence number @@ -3186,7 +3186,7 @@ VISUALTYPE 1 Deleted 15 unused -SelectionClear +SelectionClear 1 29 code 1 unused 2 CARD16 sequence number @@ -3195,7 +3195,7 @@ VISUALTYPE 4 ATOM selection 16 unused -SelectionRequest +SelectionRequest 1 30 code 1 unused 2 CARD16 sequence number @@ -3209,7 +3209,7 @@ VISUALTYPE 0 None 4 unused -SelectionNotify +SelectionNotify 1 31 code 1 unused 2 CARD16 sequence number @@ -3222,7 +3222,7 @@ VISUALTYPE 0 None 8 unused -ColormapNotify +ColormapNotify 1 32 code 1 unused 2 CARD16 sequence number @@ -3235,7 +3235,7 @@ VISUALTYPE 1 Installed 18 unused -ClientMessage +ClientMessage 1 33 code 1 CARD8 format 2 CARD16 sequence number @@ -3243,7 +3243,7 @@ VISUALTYPE 4 ATOM type 20 data -MappingNotify +MappingNotify 1 34 code 1 unused 2 CARD16 sequence number -- cgit v1.2.3