2 # Fields for X11 dissector.
4 # Copyright 2000, Christophe Tronche <ch.tronche@computer.org>
6 # $Id: x11-fields,v 1.6 2002/04/17 08:33:09 guy Exp $
8 # Ethereal - Network traffic analyzer
9 # By Gerald Combs <gerald@ethereal.com>
10 # Copyright 1998 Gerald Combs
12 # This program is free software; you can redistribute it and/or
13 # modify it under the terms of the GNU General Public License
14 # as published by the Free Software Foundation; either version 2
15 # of the License, or (at your option) any later version.
17 # This program is distributed in the hope that it will be useful,
18 # but WITHOUT ANY WARRANTY; without even the implied warranty of
19 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 # GNU General Public License for more details.
22 # You should have received a copy of the GNU General Public License
23 # along with this program; if not, write to the Free Software
24 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
27 acceleration-denominator INT16 DEC
28 acceleration-numerator INT16 DEC
29 access-mode UINT8 DEC VALS
32 address-length UINT16 DEC
34 allow-events-mode UINT8 DEC VALS
35 allow-exposures UINT8 DEC VALS(yes_no_default)
45 mode UINT8 DEC VALS Tell us if we're drawing an arc or a pie
48 authorization-protocol-name-length UINT16 DEC
49 authorization-protocol-name STRING HEX
50 authorization-protocol-data-length UINT16 DEC
51 authorization-protocol-data STRING HEX
52 auto-repeat-mode UINT8 DEC VALS
53 back-blue UINT16 DEC Background blue value for a cursor
54 back-green UINT16 DEC Background green value for a cursor
55 back-red UINT16 DEC Background red value for a cursor
56 background UINT32 HEX Background color
57 background-pixel UINT32 HEX Background color for a window
58 background-pixmap UINT32 HEX VALS Background pixmap for a window
59 backing-pixel UINT32 HEX
60 backing-planes UINT32 HEX
61 backing-store UINT8 DEC VALS
62 bell-duration INT16 DEC
65 bit-gravity UINT8 DEC VALS(gravity)
69 border-pixel UINT32 HEX
70 border-pixmap UINT32 HEX VALS
71 border-width UINT16 DEC
73 byte-order UINT8 HEX VALS
74 cap-style UINT8 DEC VALS
75 change-host-mode UINT8 DEC VALS(insert_delete)
78 clip-mask UINT32 HEX VALS(zero_is_none)
79 clip-x-origin INT16 DEC
80 clip-y-origin INT16 DEC
81 close-down-mode UINT8 DEC VALS
94 do-green BOOLEAN 8 0x02
95 do-blue BOOLEAN 8 0x04
99 colors UINT16 DEC The number of color cells to allocate
101 configure-window-mask UINT16 HEX
104 width BOOLEAN 16 0x0004
105 height BOOLEAN 16 0x0008
106 border-width BOOLEAN 16 0x0010
107 sibling BOOLEAN 16 0x0020
108 stack-mode BOOLEAN 16 0x0040
110 confine-to UINT32 HEX VALS(zero_is_none)
111 contiguous BOOLEAN NONE
112 coordinate-mode UINT8 DEC VALS
114 cursor UINT32 HEX VALS(zero_is_none)
115 dash-offset UINT16 DEC
117 dashes-length UINT16 DEC
118 do-acceleration BOOLEAN NONE
119 do-threshold BOOLEAN NONE
121 do-not-propagate-mask UINT32 HEX
122 KeyPress BOOLEAN 32 0x00000001
123 KeyRelease BOOLEAN 32 0x00000002
124 ButtonPress BOOLEAN 32 0x00000004
125 ButtonRelease BOOLEAN 32 0x00000008
126 PointerMotion BOOLEAN 32 0x00000040
127 Button1Motion BOOLEAN 32 0x00000100
128 Button2Motion BOOLEAN 32 0x00000200
129 Button3Motion BOOLEAN 32 0x00000400
130 Button4Motion BOOLEAN 32 0x00000800
131 Button5Motion BOOLEAN 32 0x00001000
132 ButtonMotion BOOLEAN 32 0x00002000
133 erroneous-bits BOOLEAN 32 0xffffc0b0
137 gc-value-mask UINT32 HEX
138 function BOOLEAN 32 0x00000001
139 plane-mask BOOLEAN 32 0x00000002
140 foreground BOOLEAN 32 0x00000004
141 background BOOLEAN 32 0x00000008
142 line-width BOOLEAN 32 0x00000010
143 line-style BOOLEAN 32 0x00000020
144 cap-style BOOLEAN 32 0x00000040
145 join-style BOOLEAN 32 0x00000080
146 fill-style BOOLEAN 32 0x00000100
147 fill-rule BOOLEAN 32 0x00000200
148 tile BOOLEAN 32 0x00000400
149 stipple BOOLEAN 32 0x00000800
150 tile-stipple-x-origin BOOLEAN 32 0x00001000
151 tile-stipple-y-origin BOOLEAN 32 0x00002000
152 font BOOLEAN 32 0x00004000
153 subwindow-mode BOOLEAN 32 0x00008000
154 graphics-exposures BOOLEAN 32 0x00010000
155 clip-x-origin BOOLEAN 32 0x00020000
156 clip-y-origin BOOLEAN 32 0x00040000
157 clip-mask BOOLEAN 32 0x00080000
158 dash-offset BOOLEAN 32 0x00100000
159 gc-dashes BOOLEAN 32 0x00200000
160 arc-mode BOOLEAN 32 0x00400000
165 data-length UINT32 DEC
166 delete BOOLEAN NONE Delete this property after reading
169 direction UINT8 DEC VALS
171 dst-drawable UINT32 HEX
173 dst-window UINT32 HEX
177 event-mask UINT32 HEX
178 KeyPress BOOLEAN 32 0x00000001
179 KeyRelease BOOLEAN 32 0x00000002
180 ButtonPress BOOLEAN 32 0x00000004
181 ButtonRelease BOOLEAN 32 0x00000008
182 EnterWindow BOOLEAN 32 0x00000010
183 LeaveWindow BOOLEAN 32 0x00000020
184 PointerMotion BOOLEAN 32 0x00000040
185 PointerMotionHint BOOLEAN 32 0x00000080
186 Button1Motion BOOLEAN 32 0x00000100
187 Button2Motion BOOLEAN 32 0x00000200
188 Button3Motion BOOLEAN 32 0x00000400
189 Button4Motion BOOLEAN 32 0x00000800
190 Button5Motion BOOLEAN 32 0x00001000
191 ButtonMotion BOOLEAN 32 0x00002000
192 KeymapState BOOLEAN 32 0x00004000
193 Exposure BOOLEAN 32 0x00008000
194 VisibilityChange BOOLEAN 32 0x00010000
195 StructureNotify BOOLEAN 32 0x00020000
196 ResizeRedirect BOOLEAN 32 0x00040000
197 SubstructureNotify BOOLEAN 32 0x00080000
198 SubstructureRedirect BOOLEAN 32 0x00100000
199 FocusChange BOOLEAN 32 0x00200000
200 PropertyChange BOOLEAN 32 0x00400000
201 ColormapChange BOOLEAN 32 0x00800000
202 OwnerGrabButton BOOLEAN 32 0x01000000
203 erroneous-bits BOOLEAN 32 0xfe000000
205 exposures BOOLEAN NONE
206 family UINT8 DEC VALS
207 fid UINT32 HEX Font id
208 fill-rule UINT8 DEC VALS
209 fill-style UINT8 DEC VALS
210 first-keycode UINT8 DEC
214 fore-green UINT16 DEC
216 foreground UINT32 HEX
218 function UINT8 DEC VALS
220 get-property-type UINT32 HEX VALS(zero_is_any_property_type)
221 grab_window UINT32 HEX
222 graphics-exposures BOOLEAN NONE
224 image-format UINT8 DEC VALS
225 image-pixmap-format UINT8 DEC VALS
228 join-style UINT8 DEC VALS
230 key-click-percent INT8 DEC
231 keyboard-key UINT8 DEC
232 keyboard-mode UINT8 DEC VALS(pointer_keyboard_mode)
234 keyboard-value-mask UINT32 HEX
235 key-click-percent BOOLEAN 32 0x0001
236 bell-percent BOOLEAN 32 0x0002
237 bell-pitch BOOLEAN 32 0x0004
238 bell-duration BOOLEAN 32 0x0008
239 led BOOLEAN 32 0x0010
240 led-mode BOOLEAN 32 0x0020
241 keyboard-key BOOLEAN 32 0x0040
242 auto-repeat-mode BOOLEAN 32 0x0080
244 keycode-count UINT8 DEC
249 keycodes-per-modifier UINT8 DEC
255 keysyms-per-keycode UINT8 DEC
257 led-mode UINT8 DEC VALS(on_off)
259 line-style UINT8 DEC VALS
260 line-width UINT16 DEC
261 long-length UINT32 DEC The maximum length of the property in bytes
262 long-offset UINT32 DEC The starting position in the property bytes array
265 mask UINT32 HEX VALS(zero_is_none)
267 mask-font UINT32 HEX VALS(zero_is_none)
272 modifiers-mask UINT16 HEX
273 Shift BOOLEAN 16 0x0001
274 Lock BOOLEAN 16 0x0002
275 Control BOOLEAN 16 0x0004
276 Mod1 BOOLEAN 16 0x0008
277 Mod2 BOOLEAN 16 0x0010
278 Mod3 BOOLEAN 16 0x0020
279 Mod4 BOOLEAN 16 0x0040
280 Mod5 BOOLEAN 16 0x0080
281 AnyModifier UINT16 HEX 0x8000
282 erroneous-bits BOOLEAN 16 0xff00
285 name-length UINT16 DEC
286 odd-length BOOLEAN NONE
287 only-if-exists BOOLEAN NONE
288 opcode UINT8 DEC VALS
289 ordering UINT8 DEC VALS
290 override-redirect BOOLEAN NONE Window manager doesn't manage this window when true
291 owner UINT32 HEX VALS(zero_is_none)
292 owner-events BOOLEAN NONE
299 pattern-length UINT16 DEC
304 pixels_item UINT32 HEX
306 plane-mask UINT32 HEX VALS
313 pointer-event-mask UINT16 HEX
314 ButtonPress BOOLEAN 16 0x0004
315 ButtonRelease BOOLEAN 16 0x0008
316 EnterWindow BOOLEAN 16 0x0010
317 LeaveWindow BOOLEAN 16 0x0020
318 PointerMotion BOOLEAN 16 0x0040
319 PointerMotionHint BOOLEAN 16 0x0080
320 Button1Motion BOOLEAN 16 0x0100
321 Button2Motion BOOLEAN 16 0x0200
322 Button3Motion BOOLEAN 16 0x0400
323 Button4Motion BOOLEAN 16 0x0800
324 Button5Motion BOOLEAN 16 0x1000
325 ButtonMotion BOOLEAN 16 0x2000
326 KeymapState BOOLEAN 16 0x4000
327 erroneous-bits BOOLEAN 16 0x8003
329 pointer-mode UINT8 DEC VALS(pointer_keyboard_mode)
330 prefer-blanking UINT8 DEC VALS(yes_no_default)
336 property-number UINT16 DEC
337 protocol-major-version UINT16 DEC
338 protocol-minor-version UINT16 DEC
339 rectangle-height UINT16 DEC
342 rectangle-width UINT16 DEC
343 rectangle-x INT16 DEC
344 rectangle-y INT16 DEC
347 request UINT8 DEC VALS(opcode)
349 request-length UINT16 DEC Request length
350 resource UINT32 HEX VALS(all_temporary)
351 revert-to UINT8 DEC VALS
352 save-set-mode UINT8 DEC VALS(insert_delete)
353 save-under BOOLEAN NONE
354 screen-saver-mode UINT8 DEC VALS
364 source-pixmap UINT32 HEX
365 source-font UINT32 HEX
366 source-char UINT16 DEC
368 src-drawable UINT32 HEX
370 src-height UINT16 DEC
372 src-window UINT32 HEX
376 stack-mode UINT8 DEC VALS
379 str-number-in-path UINT16 DEC
385 string-length UINT32 DEC
386 subwindow-mode UINT8 DEC VALS
399 tile-stipple-x-origin INT16 DEC
400 tile-stipple-y-origin INT16 DEC
404 undecoded NONE NONE Yet undecoded by dissector
408 warp-pointer-dst-window UINT32 HEX VALS(zero_is_none)
409 warp-pointer-src-window UINT32 HEX VALS(zero_is_none)
410 wid UINT32 HEX Window id
412 win-gravity UINT8 DEC VALS(gravity)
414 window-class UINT16 DEC VALS Window class
416 window-value-mask UINT32 HEX
417 background-pixmap BOOLEAN 32 0x00000001
418 background-pixel BOOLEAN 32 0x00000002
419 border-pixmap BOOLEAN 32 0x00000004
420 border-pixel BOOLEAN 32 0x00000008
421 bit-gravity BOOLEAN 32 0x00000010
422 win-gravity BOOLEAN 32 0x00000020
423 backing-store BOOLEAN 32 0x00000040
424 backing-planes BOOLEAN 32 0x00000080
425 backing-pixel BOOLEAN 32 0x00000100
426 override-redirect BOOLEAN 32 0x00000200
427 save-under BOOLEAN 32 0x00000400
428 event-mask BOOLEAN 32 0x00000800
429 do-not-propagate-mask BOOLEAN 32 0x00001000
430 colormap BOOLEAN 32 0x00002000
431 cursor BOOLEAN 32 0x00004000