2 # Fields for X11 dissector.
4 # Copyright 2000, Christophe Tronche <ch.tronche@computer.org>
6 # $Id: x11-fields,v 1.4 2001/04/21 08:04:43 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
31 address-length UINT16 DEC
33 allow-events-mode UINT8 DEC VALS
34 allow-exposures UINT8 DEC VALS(yes_no_default)
44 mode UINT8 DEC VALS Tell us if we're drawing an arc or a pie
47 auto-repeat-mode UINT8 DEC VALS
48 back-blue UINT16 DEC Background blue value for a cursor
49 back-green UINT16 DEC Background green value for a cursor
50 back-red UINT16 DEC Background red value for a cursor
51 background UINT32 HEX Background color
52 background-pixel UINT32 HEX Background color for a window
53 background-pixmap UINT32 HEX VALS Background pixmap for a window
54 backing-pixel UINT32 HEX
55 backing-planes UINT32 HEX
56 backing-store UINT8 DEC VALS
57 bell-duration INT16 DEC
60 bit-gravity UINT8 DEC VALS(gravity)
64 border-pixel UINT32 HEX
65 border-pixmap UINT32 HEX VALS
66 border-width UINT16 DEC
68 cap-style UINT8 DEC VALS
69 change-host-mode UINT8 DEC VALS(insert_delete)
72 clip-mask UINT32 HEX VALS(zero_is_none)
73 clip-x-origin INT16 DEC
74 clip-y-origin INT16 DEC
75 close-down-mode UINT8 DEC VALS
88 do-green BOOLEAN 8 0x02
89 do-blue BOOLEAN 8 0x04
93 colors UINT16 DEC The number of color cells to allocate
95 configure-window-mask UINT16 HEX
98 width BOOLEAN 16 0x0004
99 height BOOLEAN 16 0x0008
100 border-width BOOLEAN 16 0x0010
101 sibling BOOLEAN 16 0x0020
102 stack-mode BOOLEAN 16 0x0040
104 confine-to UINT32 HEX VALS(zero_is_none)
105 contiguous BOOLEAN NONE
106 coordinate-mode UINT8 DEC VALS
108 cursor UINT32 HEX VALS(zero_is_none)
109 dash-offset UINT16 DEC
111 dashes-length UINT16 DEC
112 do-acceleration BOOLEAN NONE
113 do-threshold BOOLEAN NONE
115 do-not-propagate-mask UINT32 HEX
116 KeyPress BOOLEAN 32 0x00000001
117 KeyRelease BOOLEAN 32 0x00000002
118 ButtonPress BOOLEAN 32 0x00000004
119 ButtonRelease BOOLEAN 32 0x00000008
120 PointerMotion BOOLEAN 32 0x00000040
121 Button1Motion BOOLEAN 32 0x00000100
122 Button2Motion BOOLEAN 32 0x00000200
123 Button3Motion BOOLEAN 32 0x00000400
124 Button4Motion BOOLEAN 32 0x00000800
125 Button5Motion BOOLEAN 32 0x00001000
126 ButtonMotion BOOLEAN 32 0x00002000
127 erroneous-bits BOOLEAN 32 0xffffc0b0
131 gc-value-mask UINT32 HEX
132 function BOOLEAN 32 0x00000001
133 plane-mask BOOLEAN 32 0x00000002
134 foreground BOOLEAN 32 0x00000004
135 background BOOLEAN 32 0x00000008
136 line-width BOOLEAN 32 0x00000010
137 line-style BOOLEAN 32 0x00000020
138 cap-style BOOLEAN 32 0x00000040
139 join-style BOOLEAN 32 0x00000080
140 fill-style BOOLEAN 32 0x00000100
141 fill-rule BOOLEAN 32 0x00000200
142 tile BOOLEAN 32 0x00000400
143 stipple BOOLEAN 32 0x00000800
144 tile-stipple-x-origin BOOLEAN 32 0x00001000
145 tile-stipple-y-origin BOOLEAN 32 0x00002000
146 font BOOLEAN 32 0x00004000
147 subwindow-mode BOOLEAN 32 0x00008000
148 graphics-exposures BOOLEAN 32 0x00010000
149 clip-x-origin BOOLEAN 32 0x00020000
150 clip-y-origin BOOLEAN 32 0x00040000
151 clip-mask BOOLEAN 32 0x00080000
152 dash-offset BOOLEAN 32 0x00100000
153 gc-dashes BOOLEAN 32 0x00200000
154 arc-mode BOOLEAN 32 0x00400000
159 data-length UINT32 DEC
160 delete BOOLEAN NONE Delete this property after reading
163 direction UINT8 DEC VALS
165 dst-drawable UINT32 HEX
167 dst-window UINT32 HEX
171 event-mask UINT32 HEX
172 KeyPress BOOLEAN 32 0x00000001
173 KeyRelease BOOLEAN 32 0x00000002
174 ButtonPress BOOLEAN 32 0x00000004
175 ButtonRelease BOOLEAN 32 0x00000008
176 EnterWindow BOOLEAN 32 0x00000010
177 LeaveWindow BOOLEAN 32 0x00000020
178 PointerMotion BOOLEAN 32 0x00000040
179 PointerMotionHint BOOLEAN 32 0x00000080
180 Button1Motion BOOLEAN 32 0x00000100
181 Button2Motion BOOLEAN 32 0x00000200
182 Button3Motion BOOLEAN 32 0x00000400
183 Button4Motion BOOLEAN 32 0x00000800
184 Button5Motion BOOLEAN 32 0x00001000
185 ButtonMotion BOOLEAN 32 0x00002000
186 KeymapState BOOLEAN 32 0x00004000
187 Exposure BOOLEAN 32 0x00008000
188 VisibilityChange BOOLEAN 32 0x00010000
189 StructureNotify BOOLEAN 32 0x00020000
190 ResizeRedirect BOOLEAN 32 0x00040000
191 SubstructureNotify BOOLEAN 32 0x00080000
192 SubstructureRedirect BOOLEAN 32 0x00100000
193 FocusChange BOOLEAN 32 0x00200000
194 PropertyChange BOOLEAN 32 0x00400000
195 ColormapChange BOOLEAN 32 0x00800000
196 OwnerGrabButton BOOLEAN 32 0x01000000
197 erroneous-bits BOOLEAN 32 0xfe000000
199 exposures BOOLEAN NONE
200 family UINT8 DEC VALS
201 fid UINT32 HEX Font id
202 fill-rule UINT8 DEC VALS
203 fill-style UINT8 DEC VALS
204 first-keycode UINT8 DEC
208 fore-green UINT16 DEC
210 foreground UINT32 HEX
212 function UINT8 DEC VALS
214 get-property-type UINT32 HEX VALS(zero_is_any_property_type)
215 grab_window UINT32 HEX
216 graphics-exposures BOOLEAN NONE
218 image-format UINT8 DEC VALS
219 image-pixmap-format UINT8 DEC VALS
222 join-style UINT8 DEC VALS
224 key-click-percent INT8 DEC
225 keyboard-key UINT8 DEC
226 keyboard-mode UINT8 DEC VALS(pointer_keyboard_mode)
228 keyboard-value-mask UINT32 HEX
229 key-click-percent BOOLEAN 32 0x0001
230 bell-percent BOOLEAN 32 0x0002
231 bell-pitch BOOLEAN 32 0x0004
232 bell-duration BOOLEAN 32 0x0008
233 led BOOLEAN 32 0x0010
234 led-mode BOOLEAN 32 0x0020
235 keyboard-key BOOLEAN 32 0x0040
236 auto-repeat-mode BOOLEAN 32 0x0080
238 keycode-count UINT8 DEC
243 keycodes-per-modifier UINT8 DEC
249 keysyms-per-keycode UINT8 DEC
251 led-mode UINT8 DEC VALS(on_off)
253 line-style UINT8 DEC VALS
254 line-width UINT16 DEC
255 long-length UINT32 DEC The maximum length of the property in bytes
256 long-offset UINT32 DEC The starting position in the property bytes array
259 mask UINT32 HEX VALS(zero_is_none)
261 mask-font UINT32 HEX VALS(zero_is_none)
266 modifiers-mask UINT16 HEX
267 Shift BOOLEAN 16 0x0001
268 Lock BOOLEAN 16 0x0002
269 Control BOOLEAN 16 0x0004
270 Mod1 BOOLEAN 16 0x0008
271 Mod2 BOOLEAN 16 0x0010
272 Mod3 BOOLEAN 16 0x0020
273 Mod4 BOOLEAN 16 0x0040
274 Mod5 BOOLEAN 16 0x0080
275 AnyModifier UINT16 HEX 0x8000
276 erroneous-bits BOOLEAN 16 0xff00
279 name-length UINT16 DEC
280 odd-length BOOLEAN NONE
281 only-if-exists BOOLEAN NONE
282 opcode UINT8 DEC VALS
283 ordering UINT8 DEC VALS
284 override-redirect BOOLEAN NONE Window manager doesn't manage this window when true
285 owner UINT32 HEX VALS(zero_is_none)
286 owner-events BOOLEAN NONE
293 pattern-length UINT16 DEC
298 pixels_item UINT32 HEX
300 plane-mask UINT32 HEX VALS
307 pointer-event-mask UINT16 HEX
308 ButtonPress BOOLEAN 16 0x0004
309 ButtonRelease BOOLEAN 16 0x0008
310 EnterWindow BOOLEAN 16 0x0010
311 LeaveWindow BOOLEAN 16 0x0020
312 PointerMotion BOOLEAN 16 0x0040
313 PointerMotionHint BOOLEAN 16 0x0080
314 Button1Motion BOOLEAN 16 0x0100
315 Button2Motion BOOLEAN 16 0x0200
316 Button3Motion BOOLEAN 16 0x0400
317 Button4Motion BOOLEAN 16 0x0800
318 Button5Motion BOOLEAN 16 0x1000
319 ButtonMotion BOOLEAN 16 0x2000
320 KeymapState BOOLEAN 16 0x4000
321 erroneous-bits BOOLEAN 16 0x8003
323 pointer-mode UINT8 DEC VALS(pointer_keyboard_mode)
324 prefer-blanking UINT8 DEC VALS(yes_no_default)
330 property-number UINT16 DEC
331 rectangle-height UINT16 DEC
334 rectangle-width UINT16 DEC
335 rectangle-x INT16 DEC
336 rectangle-y INT16 DEC
339 request UINT8 DEC VALS(opcode)
341 request-length UINT16 DEC Request length
342 resource UINT32 HEX VALS(all_temporary)
343 revert-to UINT8 DEC VALS
344 save-set-mode UINT8 DEC VALS(insert_delete)
345 save-under BOOLEAN NONE
346 screen-saver-mode UINT8 DEC VALS
356 source-pixmap UINT32 HEX
357 source-font UINT32 HEX
358 source-char UINT16 DEC
360 src-drawable UINT32 HEX
362 src-height UINT16 DEC
364 src-window UINT32 HEX
368 stack-mode UINT8 DEC VALS
371 str-number-in-path UINT16 DEC
377 string-length UINT32 DEC
378 subwindow-mode UINT8 DEC VALS
391 tile-stipple-x-origin INT16 DEC
392 tile-stipple-y-origin INT16 DEC
396 undecoded NONE NONE Yet undecoded by dissector
400 warp-pointer-dst-window UINT32 HEX VALS(zero_is_none)
401 warp-pointer-src-window UINT32 HEX VALS(zero_is_none)
402 wid UINT32 HEX Window id
404 win-gravity UINT8 DEC VALS(gravity)
406 window-class UINT16 DEC VALS Window class
408 window-value-mask UINT32 HEX
409 background-pixmap BOOLEAN 32 0x00000001
410 background-pixel BOOLEAN 32 0x00000002
411 border-pixmap BOOLEAN 32 0x00000004
412 border-pixel BOOLEAN 32 0x00000008
413 bit-gravity BOOLEAN 32 0x00000010
414 win-gravity BOOLEAN 32 0x00000020
415 backing-store BOOLEAN 32 0x00000040
416 backing-planes BOOLEAN 32 0x00000080
417 backing-pixel BOOLEAN 32 0x00000100
418 override-redirect BOOLEAN 32 0x00000200
419 save-under BOOLEAN 32 0x00000400
420 event-mask BOOLEAN 32 0x00000800
421 do-not-propagate-mask BOOLEAN 32 0x00001000
422 colormap BOOLEAN 32 0x00002000
423 cursor BOOLEAN 32 0x00004000