Only run xcompmgr if openbox is running

This commit is contained in:
Simon Long 2021-06-04 13:54:40 +01:00
parent 8607dbc728
commit 7171417561
3 changed files with 10 additions and 2 deletions

6
debian/changelog vendored
View File

@ -1,3 +1,9 @@
raspi-config (20210604) bullseye; urgency=medium
* Disable xcompmgr when openbox not running
-- Simon Long <simon@raspberrypi.com> Fri, 04 Jun 2021 13:53:42 +0100
raspi-config (20210212) buster; urgency=medium raspi-config (20210212) buster; urgency=medium
* Update boot order menu * Update boot order menu

2
debian/compat vendored
View File

@ -1 +1 @@
9 10

View File

@ -1,4 +1,6 @@
#!/bin/sh #!/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 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 fi