aboutsummaryrefslogtreecommitdiffstats
path: root/homescreen/homescreen.pro
diff options
context:
space:
mode:
authorArnaud Ferraris <arnaud.ferraris@collabora.com>2022-01-18 12:52:43 +0100
committerArnaud Ferraris <arnaud.ferraris@collabora.com>2022-01-20 17:25:38 +0100
commita3c4beb8a9d1a01a4a29434e8319be7ce3f0d42f (patch)
treef3e10f66b51ae1064e91275f3920e0a1e2258a38 /homescreen/homescreen.pro
parent20970d846906a070305d8e96cf0735bf7fd831b1 (diff)
Use agl-shell-desktop protocol to keep track of closed windows
Currently, we have no way of knowing when the main window of an application is closed unless this action terminates the app. Hooking up the `agl-shell-desktop` protocol allows us to be notified when this happens, so we can instruct `homescreenhandler` to switch back to the previously active app. Bug-AGL: SPEC-4222 Signed-off-by: Arnaud Ferraris <arnaud.ferraris@collabora.com> Change-Id: I26dfaccce8894c2599afd9b14349b0703727d47a
Diffstat (limited to 'homescreen/homescreen.pro')
-rw-r--r--homescreen/homescreen.pro2
1 files changed, 1 insertions, 1 deletions
diff --git a/homescreen/homescreen.pro b/homescreen/homescreen.pro
index 3f94c11..80f0f49 100644
--- a/homescreen/homescreen.pro
+++ b/homescreen/homescreen.pro
@@ -52,7 +52,7 @@ RESOURCES += \
qml/qml.qrc
AGL_SHELL_PATH = $$system(pkg-config --variable=pkgdatadir agl-compositor-0.0.20-protocols)
-WAYLANDCLIENTSOURCES += $$AGL_SHELL_PATH/agl-shell.xml
+WAYLANDCLIENTSOURCES += $$AGL_SHELL_PATH/agl-shell.xml $$AGL_SHELL_PATH/agl-shell-desktop.xml
target.path = $${PREFIX}/usr/bin
target.files += $${OUT_PWD}/$${TARGET}