29 lines
834 B
Diff
29 lines
834 B
Diff
From 81393da678201410c57af0cb700315048bd72a57 Mon Sep 17 00:00:00 2001
|
|
From: Jeffy Chen <jeffy.chen@rock-chips.com>
|
|
Date: Wed, 28 Sep 2022 10:44:07 +0800
|
|
Subject: [PATCH 61/95] compositor: Stop bootanim when seen first app
|
|
|
|
Signed-off-by: Jeffy Chen <jeffy.chen@rock-chips.com>
|
|
---
|
|
libweston/compositor.c | 4 ++++
|
|
1 file changed, 4 insertions(+)
|
|
|
|
diff --git a/libweston/compositor.c b/libweston/compositor.c
|
|
index 1527cff..3b4b598 100644
|
|
--- a/libweston/compositor.c
|
|
+++ b/libweston/compositor.c
|
|
@@ -3730,6 +3730,10 @@ weston_compositor_build_view_list(struct weston_compositor *compositor)
|
|
view->surface->flags |=
|
|
SURFACE_STAY_ON_BOTTOM;
|
|
}
|
|
+
|
|
+#define BOOTANIM "/usr/bin/bootanim"
|
|
+ if (!access(BOOTANIM, X_OK))
|
|
+ (void)!system(BOOTANIM " stop&");
|
|
}
|
|
|
|
view_list_add(compositor, view);
|
|
--
|
|
2.20.1
|
|
|