diff --git a/gajim/common/idle.py b/gajim/common/idle.py index 5bce7699f..034cf0750 100644 --- a/gajim/common/idle.py +++ b/gajim/common/idle.py @@ -168,13 +168,6 @@ class WindowsIdleMonitor: info = self.SystemParametersInfo(0x72, 0, ctypes.byref(saver_runing), 0) if info and saver_runing.value: return True - - # Check if Screen is locked - desk = self.OpenInputDesktop(0, False, 0) - if not desk: - return True - self.CloseDesktop(desk) - return False