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

« back to all changes in this revision

Viewing changes to src/VBox/Additions/x11/x11include/7.0/X11/extensions/compositeproto.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
 
 * $Id: compositeproto.h $
3
 
 *
4
 
 * Copyright © 2003 Keith Packard
5
 
 *
6
 
 * Permission to use, copy, modify, distribute, and sell this software and its
7
 
 * documentation for any purpose is hereby granted without fee, provided that
8
 
 * the above copyright notice appear in all copies and that both that
9
 
 * copyright notice and this permission notice appear in supporting
10
 
 * documentation, and that the name of Keith Packard not be used in
11
 
 * advertising or publicity pertaining to distribution of the software without
12
 
 * specific, written prior permission.  Keith Packard makes no
13
 
 * representations about the suitability of this software for any purpose.  It
14
 
 * is provided "as is" without express or implied warranty.
15
 
 *
16
 
 * KEITH PACKARD DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
17
 
 * INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
18
 
 * EVENT SHALL KEITH PACKARD BE LIABLE FOR ANY SPECIAL, INDIRECT OR
19
 
 * CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
20
 
 * DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
21
 
 * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
22
 
 * PERFORMANCE OF THIS SOFTWARE.
23
 
 */
24
 
 
25
 
#ifndef _COMPOSITEPROTO_H_
26
 
#define _COMPOSITEPROTO_H_
27
 
 
28
 
#include <X11/Xmd.h>
29
 
#include <X11/extensions/composite.h>
30
 
 
31
 
#define Window CARD32
32
 
#define Region CARD32
33
 
 
34
 
/* 
35
 
 * requests and replies
36
 
 */
37
 
typedef struct {
38
 
    CARD8   reqType;
39
 
    CARD8   compositeReqType;
40
 
    CARD16  length B16;
41
 
    CARD32  majorVersion B32;
42
 
    CARD32  minorVersion B32;
43
 
} xCompositeQueryVersionReq;
44
 
 
45
 
#define sz_xCompositeQueryVersionReq   12
46
 
 
47
 
typedef struct {
48
 
    BYTE    type;   /* X_Reply */
49
 
    BYTE    pad1;
50
 
    CARD16  sequenceNumber B16;
51
 
    CARD32  length B32;
52
 
    CARD32  majorVersion B32;
53
 
    CARD32  minorVersion B32;
54
 
    CARD32  pad2 B32;
55
 
    CARD32  pad3 B32;
56
 
    CARD32  pad4 B32;
57
 
    CARD32  pad5 B32;
58
 
} xCompositeQueryVersionReply;
59
 
 
60
 
#define sz_xCompositeQueryVersionReply  32
61
 
 
62
 
typedef struct {
63
 
    CARD8   reqType;
64
 
    CARD8   compositeReqType;
65
 
    CARD16  length B16;
66
 
    Window  window B32;
67
 
    CARD8   update;
68
 
    CARD8   pad1;
69
 
    CARD16  pad2 B16;
70
 
} xCompositeRedirectWindowReq;
71
 
 
72
 
#define sz_xCompositeRedirectWindowReq  12
73
 
 
74
 
typedef struct {
75
 
    CARD8   reqType;
76
 
    CARD8   compositeReqType;
77
 
    CARD16  length B16;
78
 
    Window  window B32;
79
 
    CARD8   update;
80
 
    CARD8   pad1;
81
 
    CARD16  pad2 B16;
82
 
} xCompositeRedirectSubwindowsReq;
83
 
 
84
 
#define sz_xCompositeRedirectSubwindowsReq          12
85
 
 
86
 
typedef struct {
87
 
    CARD8   reqType;
88
 
    CARD8   compositeReqType;
89
 
    CARD16  length B16;
90
 
    Window  window B32;
91
 
    CARD8   update;
92
 
    CARD8   pad1;
93
 
    CARD16  pad2 B16;
94
 
} xCompositeUnredirectWindowReq;
95
 
 
96
 
#define sz_xCompositeUnredirectWindowReq    12
97
 
 
98
 
typedef struct {
99
 
    CARD8   reqType;
100
 
    CARD8   compositeReqType;
101
 
    CARD16  length B16;
102
 
    Window  window B32;
103
 
    CARD8   update;
104
 
    CARD8   pad1;
105
 
    CARD16  pad2 B16;
106
 
} xCompositeUnredirectSubwindowsReq;
107
 
 
108
 
#define sz_xCompositeUnredirectSubwindowsReq   12
109
 
 
110
 
typedef struct {
111
 
    CARD8   reqType;
112
 
    CARD8   compositeReqType;
113
 
    CARD16  length B16;
114
 
    Region  region B32;
115
 
    Window  window B32;
116
 
} xCompositeCreateRegionFromBorderClipReq;
117
 
 
118
 
#define sz_xCompositeCreateRegionFromBorderClipReq  12
119
 
 
120
 
/* Version 0.2 additions */
121
 
 
122
 
typedef struct {
123
 
    CARD8   reqType;
124
 
    CARD8   compositeReqType;
125
 
    CARD16  length;
126
 
    Window  window B32;
127
 
    Pixmap  pixmap B32;
128
 
} xCompositeNameWindowPixmapReq;
129
 
 
130
 
#define sz_xCompositeNameWindowPixmapReq            12
131
 
 
132
 
#undef Window
133
 
#undef Region
134
 
 
135
 
#endif /* _COMPOSITEPROTO_H_ */