summaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md18
1 files changed, 18 insertions, 0 deletions
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..17a1bba
--- /dev/null
+++ b/README.md
@@ -0,0 +1,18 @@
+xdg-cluster-receiver
+--------------------
+
+This is a variant of the cluster-demo-receiver but without any toolkit
+involvement, using wayland-protocols (to gain access to XDG-Shell) and
+agl-shell* private extensions provided by the compositor.
+
+We use XDG-Shell to create a top-level XDG window and set an application id for
+it. We use agl-shell-desktop to be able to position indepedently the surface
+on top of the cluster-dashbboard application, and in the same time specify
+a bounding box.
+
+Underneath, waylandsink requires a parent surface (wl_surface) as to create a
+sub-subsurface where it will draw, on its own, the incoming stream.
+
+We don't pass out that parent surface to the compositor, but instead of use the
+app_id to identify applications, that is why it is import to set, for the parent
+surface an application id.