~ubuntu-branches/ubuntu/karmic/virtualbox-ose/karmic-updates

« back to all changes in this revision

Viewing changes to src/VBox/Additions/x11/x11include/xorg-server-1.5.3/mipointrst.h

  • Committer: Bazaar Package Importer
  • Author(s): Felix Geyer
  • Date: 2009-09-14 18:25:07 UTC
  • mfrom: (0.4.1 squeeze)
  • Revision ID: james.westby@ubuntu.com-20090914182507-c98g07mq16hjmn6d
Tags: 3.0.6-dfsg-1ubuntu1
* Merge from debian unstable (LP: #429697), remaining changes:
  - Enable DKMS support on virtualbox host and guest modules (LP: #267097)
    - Drop virtualbox-ose{-guest,}-modules-* package templates
    - Recommend *-source instead of *-modules packages
    - Replace error messages related to missing/mismatched
      kernel module accordingly
  - Autoload kernel module
    - LOAD_VBOXDRV_MODULE=1 in virtualbox-ose.default
  - Disable update action
    - patches/u01-disable-update-action.dpatch
  - Virtualbox should go in Accessories, not in System tools (LP: #288590)
    - virtualbox-ose-qt.files/virtualbox-ose.desktop
  - Add apport hook
    - virtualbox-ose.files/source_virtualbox-ose.py
    - virtualbox-ose.install
  - Add launchpad integration
    - control
    - lpi-bug.xpm
    - patches/u02-lp-integration.dpatch
  - virtualbox, virtualbox-* (names of the upstream proprietary packages)
    conflict with virtualbox-ose (LP: #379878)
* Make debug package depend on normal or guest utils package
* Drop patches/22-pulseaudio-stubs.dpatch (applied upstream)
* Rename Ubuntu specific patches to uXX-*.dpatch
* Fix lintian warnings in maintainer scripts

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*
2
 
 * mipointrst.h
3
 
 *
4
 
 */
5
 
 
6
 
 
7
 
/*
8
 
 
9
 
Copyright 1989, 1998  The Open Group
10
 
 
11
 
Permission to use, copy, modify, distribute, and sell this software and its
12
 
documentation for any purpose is hereby granted without fee, provided that
13
 
the above copyright notice appear in all copies and that both that
14
 
copyright notice and this permission notice appear in supporting
15
 
documentation.
16
 
 
17
 
The above copyright notice and this permission notice shall be included in
18
 
all copies or substantial portions of the Software.
19
 
 
20
 
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
21
 
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
22
 
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL THE
23
 
OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
24
 
AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
25
 
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
26
 
 
27
 
Except as contained in this notice, the name of The Open Group shall not be
28
 
used in advertising or otherwise to promote the sale, use or other dealings
29
 
in this Software without prior written authorization from The Open Group.
30
 
*/
31
 
 
32
 
#include "mipointer.h"
33
 
#include "scrnintstr.h"
34
 
 
35
 
typedef struct {
36
 
    ScreenPtr               pScreen;    /* current screen */
37
 
    ScreenPtr               pSpriteScreen;/* screen containing current sprite */
38
 
    CursorPtr               pCursor;    /* current cursor */
39
 
    CursorPtr               pSpriteCursor;/* cursor on screen */
40
 
    BoxRec                  limits;     /* current constraints */
41
 
    Bool                    confined;   /* pointer can't change screens */
42
 
    int                     x, y;       /* hot spot location */
43
 
    int                     devx, devy; /* sprite position */
44
 
} miPointerRec, *miPointerPtr;
45
 
 
46
 
typedef struct {
47
 
    miPointerSpriteFuncPtr  spriteFuncs;        /* sprite-specific methods */
48
 
    miPointerScreenFuncPtr  screenFuncs;        /* screen-specific methods */
49
 
    CloseScreenProcPtr      CloseScreen;
50
 
    Bool                    waitForUpdate;      /* don't move cursor in SIGIO */
51
 
    Bool                    showTransparent;    /* show empty cursors */
52
 
} miPointerScreenRec, *miPointerScreenPtr;