[Psi-devel] [BUG] Psi prohibits user logout or system shutdown
michalj at poczta.neostrada.pl
Sun Jul 8 22:15:49 PDT 2007
I've noticed that Psi-0.11 (after recent power events' support fix)
prohibits user logout or system shutdown (either for restart or for
poweroff) on Windows.
This is caused by invalid processing of WM_QUERYENDSESSION message - Psi
does not set any return value, which defaults to 0, meaning "dissallow".
Maybe we should test lParam argument of this message (it tells what
really is going on - user logout, system shutdown or application's file
substitution) and give the user ability to respond.
Anyway, we should return a non-zero value.
Details about WM_QUERYENDSESSION:
Michał Jazłowiecki (michalj)
Psi Forum & Wiki Moderator
More information about the psi-devel