Added Deepin DE support for disable compositing
This commit is contained in:
parent
1b81250f39
commit
461b2f65ed
@ -802,6 +802,8 @@ stop_portwine () {
|
||||
xfconf-query -c xfwm4 -p /general/use_compositing -s true
|
||||
elif [[ "${DESKTOP_SESSION}" =~ "cinnamon" ]] ; then
|
||||
gsettings set org.cinnamon.muffin unredirect-fullscreen-windows false
|
||||
elif [[ "${DESKTOP_SESSION}" =~ "deepin" ]] ; then
|
||||
dbus-send --session --dest=com.deepin.WMSwitcher --type=method_call /com/deepin/WMSwitcher com.deepin.WMSwitcher.RequestSwitchWM
|
||||
fi
|
||||
fi
|
||||
|
||||
@ -2108,6 +2110,8 @@ d3d11 d3d10 d3d10core d3d10_1 d3d9 d3d8 dxgi wined3d vulkan-1 shell32"
|
||||
xfconf-query -c xfwm4 -p /general/use_compositing -s false
|
||||
elif [[ "${DESKTOP_SESSION}" =~ "cinnamon" ]] ; then
|
||||
gsettings set org.cinnamon.muffin unredirect-fullscreen-windows true
|
||||
elif [[ "${DESKTOP_SESSION}" =~ "deepin" ]] ; then
|
||||
dbus-send --session --dest=com.deepin.WMSwitcher --type=method_call /com/deepin/WMSwitcher com.deepin.WMSwitcher.RequestSwitchWM
|
||||
fi
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user