-
Notifications
You must be signed in to change notification settings - Fork 6
/
composite.proto
77 lines (64 loc) · 1.14 KB
/
composite.proto
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
NEEDS "requests.proto"
NEEDS "fixes.proto"
EXTENSION "Composite" Composite
USE core
REQUESTS
QueryVersion RESPONDS
RedirectWindow
RedirectSubwindows
UnredirectWindow
UnredirectSubwindows
CreateRegionFromBorderClip
NameWindowPixmap
GetOverlayWindow RESPONDS
ReleaseOverlayWindow /*8*/
END
CONSTANTS updateType
0 Automatic
1 Manual
END
TYPE UpdateType ENUM8 updateType
REQUEST QueryVersion
4 majorVersion UINT32
8 minorVersion UINT32
END
RESPONSE QueryVersion
8 majorVersion UINT32
12 minorVersion UINT32
END
REQUEST RedirectWindow
4 window WINDOW
8 update UpdateType
END
REQUEST RedirectSubwindows
4 window WINDOW
8 update UpdateType
END
# UpdateType doesn't make sense, but it's transmitted through the wire
REQUEST UnredirectWindow
4 window WINDOW
8 update UpdateType
END
# Likewise
REQUEST UnredirectSubwindows
4 window WINDOW
8 update UpdateType
END
REQUEST CreateRegionFromBorderClip
4 region Fixes::REGION
8 window WINDOW
END
REQUEST NameWindowPixmap
4 window WINDOW
8 pixmap PIXMAP
END
REQUEST GetOverlayWindow
4 window WINDOW
END
RESPONSE GetOverlayWindow
4 overlayWin WINDOW
END
REQUEST ReleaseOverlayWindow
4 window WINDOW
END
EOF