diff --git a/data_from_portwine/scripts/functions_helper b/data_from_portwine/scripts/functions_helper index 56cb23b3..1a3cf233 100755 --- a/data_from_portwine/scripts/functions_helper +++ b/data_from_portwine/scripts/functions_helper @@ -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