From 7171417561a366ec00ab9557c4c7f3302477f53e Mon Sep 17 00:00:00 2001 From: Simon Long Date: Fri, 4 Jun 2021 13:54:40 +0100 Subject: [PATCH] Only run xcompmgr if openbox is running --- debian/changelog | 6 ++++++ debian/compat | 2 +- usr/lib/raspi-config/cmstart.sh | 4 +++- 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/debian/changelog b/debian/changelog index 99cc344..1d50aaa 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +raspi-config (20210604) bullseye; urgency=medium + + * Disable xcompmgr when openbox not running + + -- Simon Long Fri, 04 Jun 2021 13:53:42 +0100 + raspi-config (20210212) buster; urgency=medium * Update boot order menu diff --git a/debian/compat b/debian/compat index ec63514..f599e28 100644 --- a/debian/compat +++ b/debian/compat @@ -1 +1 @@ -9 +10 diff --git a/usr/lib/raspi-config/cmstart.sh b/usr/lib/raspi-config/cmstart.sh index 94549c7..a452347 100755 --- a/usr/lib/raspi-config/cmstart.sh +++ b/usr/lib/raspi-config/cmstart.sh @@ -1,4 +1,6 @@ #!/bin/sh if grep -q okay /proc/device-tree/soc/v3d@7ec00000/status 2> /dev/null || grep -q okay /proc/device-tree/soc/firmwarekms@7e600000/status 2> /dev/null ; then - exec xcompmgr -aR + if ps ax | grep -v grep | grep -q openbox ; then + exec xcompmgr -aR + fi fi