mate-session-manager: only use compton as default with 3D acceleration
This commit is contained in:
parent
4fa403dbbb
commit
5a6f5f8370
2 changed files with 3 additions and 2 deletions
|
|
@ -72,7 +72,8 @@ if [ -z "$WINDOW_MANAGER" ] ; then
|
|||
# marco is still the default wm in MATE
|
||||
KNOWN_WM="marco $KNOWN_WM"
|
||||
|
||||
xdpyinfo 2> /dev/null | grep -q "^ *Composite$" 2> /dev/null
|
||||
#xdpyinfo 2> /dev/null | grep -q "^ *Composite$" 2> /dev/null
|
||||
glxinfo |grep "OpenGL renderer"| grep -vi Gallium | grep -q .
|
||||
IS_X_COMPOSITED=$?
|
||||
if [ $IS_X_COMPOSITED -eq 0 ] ; then
|
||||
KNOWN_WM="marco-compton mutter compiz-manager compiz beryl $KNOWN_WM"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue