8
8
fee is hereby granted, provided that the above copyright
9
9
notice appear in all copies and that both that copyright
10
10
notice and this permission notice appear in supporting
11
documentation, and that the name of Silicon Graphics not be
12
used in advertising or publicity pertaining to distribution
11
documentation, and that the name of Silicon Graphics not be
12
used in advertising or publicity pertaining to distribution
13
13
of the software without specific prior written permission.
14
Silicon Graphics makes no representation about the suitability
14
Silicon Graphics makes no representation about the suitability
15
15
of this software for any purpose. It is provided "as is"
16
16
without any express or implied warranty.
18
SILICON GRAPHICS DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS
19
SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
18
SILICON GRAPHICS DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS
19
SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
20
20
AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL SILICON
21
GRAPHICS BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL
22
DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
23
DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
21
GRAPHICS BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL
22
DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
23
DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
24
24
OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH
25
25
THE USE OR PERFORMANCE OF THIS SOFTWARE.
177
177
register XkbPropertyPtr prop;
179
179
for (i=0,prop=geom->properties;i<geom->num_properties;i++,prop++) {
180
180
wire= _WriteCountedString(wire,prop->name);
181
181
wire= _WriteCountedString(wire,prop->value);
378
378
_WriteGeomKeyAliases(char *wire,XkbGeometryPtr geom)
382
382
sz= geom->num_key_aliases*(XkbKeyNameLength*2);
384
384
memcpy(wire,(char *)geom->key_aliases,sz);
445
445
if ( (!geom) || (dpy->flags & XlibDisplayNoXkb) ||
446
446
(!dpy->xkb_info && !XkbUseExtension(dpy,NULL,NULL)))
447
447
return BadAccess;
449
449
LockDisplay(dpy);
450
450
GetReq(kbSetGeometry, req);
451
451
req->reqType = dpy->xkb_info->codes->major_opcode;