[Differential] [Commented On] D2033: Clear idle timeouts when session becomes inactive

2016-09-12 Thread broulik (Kai Uwe Broulik)
broulik added a comment. > The powerdevil binary does drawing for the fadeout effect, right? It just sets an X property on the root window and KWin does the fading. REPOSITORY rPOWERDEVIL Powerdevil REVISION DETAIL https://phabricator.kde.org/D2033 EMAIL PREFERENCES

[Differential] [Commented On] D2033: Clear idle timeouts when session becomes inactive

2016-09-12 Thread oliverhenshaw (Oliver Henshaw)
oliverhenshaw added a comment. In https://phabricator.kde.org/D2033#50969, @broulik wrote: > So, should we go with this patch then? Powerdevil is now a separate binary, so > > IdleTime::instance()->removeAllIdleTimeouts(); > > shouldn't cause side-effects on other modules and

[Differential] [Commented On] D2033: Clear idle timeouts when session becomes inactive

2016-09-12 Thread Martin Gräßlin
graesslin added a comment. +1 REPOSITORY rPOWERDEVIL Powerdevil REVISION DETAIL https://phabricator.kde.org/D2033 EMAIL PREFERENCES https://phabricator.kde.org/settings/panel/emailpreferences/ To: broulik, oliverhenshaw, sebas, #plasma Cc: sebas, oliverhenshaw, graesslin,

[Differential] [Commented On] D2033: Clear idle timeouts when session becomes inactive

2016-09-11 Thread broulik (Kai Uwe Broulik)
broulik added a comment. So, should we go with this patch then? Powerdevil is now a separate binary, so IdleTime::instance()->removeAllIdleTimeouts(); shouldn't cause side-effects on other modules and also should fix it for non-weird X setups like mine. ;) REPOSITORY

[Differential] [Commented On] D2033: Clear idle timeouts when session becomes inactive

2016-08-10 Thread oliverhenshaw (Oliver Henshaw)
oliverhenshaw added a comment. In https://phabricator.kde.org/D2033#44650, @broulik wrote: > So, what should we do with this? Since we now have powerdevil as a separate binary we could savely do > > KIdleTime::instance()->removeAllIdleTimeouts(); > > without jeopardizing other

[Differential] [Commented On] D2033: Clear idle timeouts when session becomes inactive

2016-08-10 Thread broulik (Kai Uwe Broulik)
broulik added a comment. So, what should we do with this? Since we now have powerdevil as a separate binary we could savely do KIdleTime::instance()->removeAllIdleTimeouts(); without jeopardizing other kded modules. REPOSITORY rPOWERDEVIL Powerdevil REVISION DETAIL

[Differential] [Commented On] D2033: Clear idle timeouts when session becomes inactive

2016-07-13 Thread broulik (Kai Uwe Broulik)
broulik added a comment. Don't worry, Oliver, I actually wasn't going to push this before I had further feedback from you. :) I'll address the clear all idle timeouts call (oh, how I wish I had already done the powerdevil-as-separate-binary thing) and then should be good to go, minus

[Differential] [Commented On] D2033: Clear idle timeouts when session becomes inactive

2016-06-28 Thread oliverhenshaw (Oliver Henshaw)
oliverhenshaw added inline comments. INLINE COMMENTS > powerdevilcore.cpp:151 > +// to an idle session by removing all idle timeouts > +KIdleTime::instance()->removeAllIdleTimeouts(); > +m_registeredActionTimeouts.clear(); Like you said, other kidletime users