diff --git a/core-modules/000QubesVm.py b/core-modules/000QubesVm.py index 3c0760a6..e8d9b6ce 100644 --- a/core-modules/000QubesVm.py +++ b/core-modules/000QubesVm.py @@ -1783,8 +1783,8 @@ class QubesVm(object): # Avoid using environment variables for checking the current session, # because this script may be called with cleared env (like with sudo). if subprocess.check_output( - ['xprop', '-root', '-notype', 'KDE_SESSION_VERSION']) == \ - 'KDE_SESSION_VERSION = 5\n': + ['xprop', '-root', '-notype', 'KWIN_RUNNING']) == \ + 'KWIN_RUNNING = 0x1\n': # native decoration plugins is used, so adjust window properties # accordingly guid_cmd += ['-T'] # prefix window titles with VM name