~ubuntu-branches/ubuntu/intrepid/xserver-xgl/intrepid

« back to all changes in this revision

Viewing changes to hw/xnest/Pointer.h

  • Committer: Bazaar Package Importer
  • Author(s): Matthew Garrett
  • Date: 2006-02-13 14:21:43 UTC
  • Revision ID: james.westby@ubuntu.com-20060213142143-mad6z9xzem7hzxz9
Tags: upstream-7.0.0
ImportĀ upstreamĀ versionĀ 7.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* $Xorg: Pointer.h,v 1.3 2000/08/17 19:53:28 cpqbld Exp $ */
 
2
/*
 
3
 
 
4
Copyright 1993 by Davor Matic
 
5
 
 
6
Permission to use, copy, modify, distribute, and sell this software
 
7
and its documentation for any purpose is hereby granted without fee,
 
8
provided that the above copyright notice appear in all copies and that
 
9
both that copyright notice and this permission notice appear in
 
10
supporting documentation.  Davor Matic makes no representations about
 
11
the suitability of this software for any purpose.  It is provided "as
 
12
is" without express or implied warranty.
 
13
 
 
14
*/
 
15
/* $XFree86$ */
 
16
 
 
17
#ifndef XNESTPOINTER_H
 
18
#define XNESTPOINTER_H
 
19
 
 
20
#define MAXBUTTONS 256
 
21
 
 
22
#define XNEST_POINTER_EVENT_MASK \
 
23
        (ButtonPressMask | ButtonReleaseMask | PointerMotionMask | \
 
24
         EnterWindowMask | LeaveWindowMask)
 
25
 
 
26
extern DeviceIntPtr xnestPointerDevice;
 
27
 
 
28
void xnestChangePointerControl(DeviceIntPtr pDev, PtrCtrl *ctrl);
 
29
int xnestPointerProc(DeviceIntPtr pDev, int onoff);
 
30
 
 
31
#endif /* XNESTPOINTER_H */