~ubuntu-branches/ubuntu/natty/libxi/natty-201011191114

« back to all changes in this revision

Viewing changes to src/XSetBMap.c

  • Committer: Bazaar Package Importer
  • Author(s): Julien Cristau
  • Date: 2009-11-21 18:39:28 UTC
  • mfrom: (1.1.10 upstream) (0.1.6 experimental)
  • Revision ID: james.westby@ubuntu.com-20091121183928-ek2jwqx3rmhv3zjz
Tags: 2:1.3-1
* Bump Standards-Version to 3.8.3.
* Add build-deps on xmlto and asciidoc to build the manpages.
* New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* $Xorg: XSetBMap.c,v 1.4 2001/02/09 02:03:51 xorgcvs Exp $ */
2
 
 
3
1
/************************************************************
4
2
 
5
3
Copyright 1989, 1998  The Open Group
45
43
SOFTWARE.
46
44
 
47
45
********************************************************/
48
 
/* $XFree86: xc/lib/Xi/XSetBMap.c,v 3.3 2001/12/14 19:55:21 dawes Exp $ */
49
46
 
50
47
/***********************************************************************
51
48
 *
64
61
/* returns either  DeviceMappingSuccess or DeviceMappingBusy  */
65
62
 
66
63
int
67
 
XSetDeviceButtonMapping(dpy, device, map, nmap)
68
 
    register Display *dpy;
69
 
    XDevice *device;
70
 
    unsigned char map[];
71
 
    int nmap;
 
64
XSetDeviceButtonMapping(
 
65
    register Display    *dpy,
 
66
    XDevice             *device,
 
67
    unsigned char        map[],
 
68
    int                  nmap)
72
69
{
73
70
    register xSetDeviceButtonMappingReq *req;
74
71
    xSetDeviceButtonMappingReply rep;