[PATCH] Trigger an inhibition in ksmserver upon logout

Oswald Buddenhagen ossi at kde.org
Sat Feb 14 15:11:56 GMT 2009


On Sat, Feb 14, 2009 at 12:25:59PM +0100, Dario Freddi wrote:
> Anyway, here comes the patch. It's way more simple and less intrusive
> than before (just 3 lines of code more),
> 
i'll just think aloud here:
powerdevil relying on being disabled in time implies that Other Session
Managers have to do it too, which is bad. otoh, ksmserer not doing an
inhibit means that Other Power Managers might screw it. so for
robustness, both would have to be implemented. not sure how much
real-world impact that has.
from an architecture pov, powerdevil hooking into session management
still seems the cleaner solution to me: ksmserver is the "session
master". it's kind of silly to expect it to give a special notification
to one kind of "servant" when it already does notify everyone, fairly
and equally. at least you wouldn't get far with that in real life.




More information about the kde-core-devel mailing list