Merge branch 'kde6-compositing' of github.com:Boria138/PortWINE into Boria138-kde6-compositing
This commit is contained in:
@ -2043,7 +2043,10 @@ stop_portwine () {
|
|||||||
&& ! check_gamescope_session
|
&& ! check_gamescope_session
|
||||||
then
|
then
|
||||||
if [[ "${DESKTOP_SESSION}" =~ "plasma" ]] ; then
|
if [[ "${DESKTOP_SESSION}" =~ "plasma" ]] ; then
|
||||||
qdbus org.kde.KWin /Compositor resume
|
kde_version=$(plasmashell --version 2>/dev/null | grep -oE '[0-9]+' | head -1)
|
||||||
|
if [[ -n "$kde_version" && "$kde_version" -lt 6 ]]; then
|
||||||
|
qdbus org.kde.KWin /Compositor resume
|
||||||
|
fi
|
||||||
elif [[ "${DESKTOP_SESSION}" =~ "mate" ]] ; then
|
elif [[ "${DESKTOP_SESSION}" =~ "mate" ]] ; then
|
||||||
gsettings set org.mate.Marco.general compositing-manager true
|
gsettings set org.mate.Marco.general compositing-manager true
|
||||||
elif [[ "${DESKTOP_SESSION}" =~ "xfce" ]] ; then
|
elif [[ "${DESKTOP_SESSION}" =~ "xfce" ]] ; then
|
||||||
|
Reference in New Issue
Block a user