7
7
fee is hereby granted, provided that the above copyright
8
8
notice appear in all copies and that both that copyright
9
9
notice and this permission notice appear in supporting
10
documentation, and that the name of Silicon Graphics not be
11
used in advertising or publicity pertaining to distribution
10
documentation, and that the name of Silicon Graphics not be
11
used in advertising or publicity pertaining to distribution
12
12
of the software without specific prior written permission.
13
Silicon Graphics makes no representation about the suitability
13
Silicon Graphics makes no representation about the suitability
14
14
of this software for any purpose. It is provided "as is"
15
15
without any express or implied warranty.
17
SILICON GRAPHICS DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS
18
SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
17
SILICON GRAPHICS DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS
18
SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
19
19
AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL SILICON
20
GRAPHICS BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL
21
DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
22
DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
20
GRAPHICS BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL
21
DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
22
DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
23
23
OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH
24
24
THE USE OR PERFORMANCE OF THIS SOFTWARE.
179
if (!_XkbInitReadBuffer(dpy,&buf,(int)rep->length*4))
179
if (!_XkbInitReadBuffer(dpy,&buf,(int)rep->length*4))
182
182
if ((rep->totalBtns>0)&&(rep->totalBtns!=devi->num_btns)) {
337
337
xkbGetDeviceInfoReply rep;
340
if ((dpy->flags & XlibDisplayNoXkb) ||
340
if ((dpy->flags & XlibDisplayNoXkb) ||
341
341
(!dpy->xkb_info && !XkbUseExtension(dpy,NULL,NULL)))
378
378
xkbGetDeviceInfoReply rep;
381
if ((dpy->flags & XlibDisplayNoXkb) ||
381
if ((dpy->flags & XlibDisplayNoXkb) ||
382
382
(!dpy->xkb_info && !XkbUseExtension(dpy,NULL,NULL)))
384
384
if (((which&XkbXI_IndicatorsMask)==0)||(which&(~XkbXI_IndicatorsMask)))