From 461b2f65ed1715dee6c7835d163d061c180617d1 Mon Sep 17 00:00:00 2001 From: Boria138 Date: Thu, 11 Apr 2024 17:18:19 +0500 Subject: [PATCH] Added Deepin DE support for disable compositing --- data_from_portwine/scripts/functions_helper | 4 ++++ 1 file changed, 4 insertions(+) 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