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

« back to all changes in this revision

Viewing changes to src/XDevBell.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: XDevBell.c,v 1.4 2001/02/09 02:03:50 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/XDevBell.c,v 3.3 2001/12/14 19:55:08 dawes Exp $ */
49
46
 
50
47
/***********************************************************************
51
48
 *
61
58
#include "XIint.h"
62
59
 
63
60
int
64
 
XDeviceBell(dpy, dev, feedbackclass, feedbackid, percent)
65
 
    register Display *dpy;
66
 
    XDevice *dev;
67
 
    XID feedbackclass, feedbackid;
68
 
    int percent;
 
61
XDeviceBell(
 
62
    register Display    *dpy,
 
63
    XDevice             *dev,
 
64
    XID                  feedbackclass,
 
65
    XID                  feedbackid,
 
66
    int                  percent)
69
67
{
70
68
    xDeviceBellReq *req;
71
69
    XExtDisplayInfo *info = XInput_find_display(dpy);