Conversion to using agl-compositor
authorMarius Vlad <marius.vlad@collabora.com>
Sat, 20 Jun 2020 20:16:15 +0000 (23:16 +0300)
committerMarius Vlad <marius.vlad@collabora.com>
Sun, 5 Jul 2020 22:55:12 +0000 (01:55 +0300)
commit9f4bf908d90102610f6b4182277ba60a34ef4201
tree42b6e769f1eaead06ec3e3eab93492c31b98cd96
parent6f05f0d2fb3619e85bee71a18c353908edf8bfe3
Conversion to using agl-compositor

- Use Qt/QtWayland to set-up an app_id for the main surface. We use that
  surface and pass it to waylandsink. Waylandsink create a sub-surface
  with the parent the Qt/QtWayland one.

- Install a handler for handling bus messages With it, it allows to pass
  the wl_display with the help of a context and the surface backing up
  the Widget.

- Installs a timer to wait for Qt to create/get the xdg_surface and
  attach a buffer to it.  Without we won't be able receive the commit
  for the parent event in order to handle it.

Bug-AGL: SPEC-3382

Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: I1574a1d21b8d12649b77cfe098f8141d09de9ee9
app/CMakeLists.txt
app/main.cpp
app/protocol/agl-shell-desktop.xml [new file with mode: 0644]
app/shell-desktop.cpp [new file with mode: 0644]
app/shell-desktop.h [new file with mode: 0644]
app/surface.cpp
app/surface.hpp
conf.d/wgt/config.xml.in