Enable xcompmgr with both full and fake KMS on all platforms

This commit is contained in:
Simon Long
2021-08-16 14:03:18 +01:00
parent fc489bc00c
commit e8d0a860ec
2 changed files with 7 additions and 1 deletions

View File

@@ -1,5 +1,5 @@
#!/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/v3dbus/v3d@7ec04000/status 2> /dev/null || grep -q okay /proc/device-tree/soc/firmwarekms@7e600000/status 2> /dev/null ; then
if ps ax | grep -v grep | grep -q openbox ; then
exec xcompmgr -a
fi