Subject: Re: bug#6719: Issues with Windows hibernation

From: Lars Ingebrigtsen <[email-masked]>
Date: Thu, 03 Oct 2019 16:26:26 +0200

Eli Zaretskii <[email-masked]> writes:

>> This seems like a reasonable thing to add to global-map (i.e., ignoring
>> [sleep]), but is it common for Windows to send a [sleep] keystroke to
>> apps before hibernating?
>
> I don't know, FWIW, and couldn't see where we any w32 code to inject
> that event when the system is about to hibernate.  Maybe I'm missing
> something.

Is it possible that the OS just sends a [sleep] event to all clients
when it's about to hibernate?  It would be a pretty simple interface for
notifying apps instead of using signals or a message bus...

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no