Skip to content
Snippets Groups Projects

Config:systemd: Invoke systemd notify when the compositor is ready

Merged Felix Gerking requested to merge add_systemd_notify_message into master
4 files
+ 20
0
Compare changes
  • Side-by-side
  • Inline
Files
4
@@ -110,6 +110,15 @@ WaylandCompositor {
@@ -110,6 +110,15 @@ WaylandCompositor {
onIviSurfaceCreated: handleIviSurfaceCreated(iviSurface)
onIviSurfaceCreated: handleIviSurfaceCreated(iviSurface)
}
}
 
// =============================================
 
// We need to notify systemd when the compositor
 
// is ready to create surfaces
 
// =============================================
 
onCreatedChanged: {
 
if (created === true) {
 
config.notifyCompositorReady();
 
}
 
}
onSurfaceRequested: {
onSurfaceRequested: {
console.log("Surface requested", client, id, version);
console.log("Surface requested", client, id, version);
Loading