Commit 461b2f65 authored by Boria138's avatar Boria138

Added Deepin DE support for disable compositing

parent 1b81250f
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment