summaryrefslogtreecommitdiff
path: root/documentation/compositor.txt
diff options
context:
space:
mode:
Diffstat (limited to 'documentation/compositor.txt')
-rw-r--r--documentation/compositor.txt15
1 files changed, 10 insertions, 5 deletions
diff --git a/documentation/compositor.txt b/documentation/compositor.txt
index 4d8e70f..38bd482 100644
--- a/documentation/compositor.txt
+++ b/documentation/compositor.txt
@@ -1,11 +1,11 @@
compositors listen on the socket id "hilbert.compositor".
when a window is opened by an application, that window can only be referred to
-on that stream. the opaque value given in the "window opened" message refers to
-that window in future messages on that stream. it is guaranteed to be distinct
-for different windows on the same stream, and in no way guaranteed to be
-distinct for different windows on different streams. the window is bound
-just to the stream, not to the application. if the stream where a window
+on that socket. the opaque value given in the "window opened" message refers to
+that window in future messages on that socket. it is guaranteed to be distinct
+for different windows on the same socket, and in no way guaranteed to be
+distinct for different windows on different sockets. the window is bound
+just to the socket, not to the application. if the socket where a window
was created is gifted to a new process, the new process has complete control
over the window, and the compositor does not need to be informed.
@@ -37,8 +37,13 @@ messages from applications to compositor:
dword: height
color rectangle: the data
+ close window:
+ byte: 0x02
+ window: the window
+
messages from compositor to application:
window opened:
byte: 0x00
window: the window
+ these come in the order the open window requests were received