[Powerdevil] [Bug 354250] "Switch User" sometimes sends computer to Standby

Kai Uwe Broulik via KDE Bugzilla bugzilla_noreply at kde.org
Thu Sep 15 07:17:41 UTC 2016


https://bugs.kde.org/show_bug.cgi?id=354250

--- Comment #31 from Kai Uwe Broulik <kde at privat.broulik.de> ---
Git commit ece8adacb35b8897407d92d995f362a6aea644be by Kai Uwe Broulik.
Committed on 15/09/2016 at 07:15.
Pushed by broulik into branch 'master'.

Clear idle timeouts when session becomes inactive

When the session becomes inactive, clear all idle timeouts, so we don't get
them delivered
while we're inactive or just when we're about to become active again.

Depending on your setup, PowerDevil might be blocked on X before it gets the
"session is now
inactive" signal, so it still suspends when becoming active again :/ It should
still make it
a bit less likely (and works for me :D)

Differential Revision: https://phabricator.kde.org/D2033

M  +15   -0    daemon/powerdevilcore.cpp
M  +8    -5    daemon/powerdevilpolicyagent.cpp
M  +1    -0    daemon/powerdevilpolicyagent.h

http://commits.kde.org/powerdevil/ece8adacb35b8897407d92d995f362a6aea644be

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Plasma-devel mailing list