Subject: Re: bug#63620: 30.0.50; [Feature Request] run hooks on sleep/wake

From: Eli Zaretskii <[email-masked]>
Date: Tue, 04 Feb 2025 18:15:15 +0200

> From: Ship Mints <[email-masked]>
> Date: Tue, 4 Feb 2025 10:51:11 -0500
> Cc: Eli Zaretskii <[email-masked]>, [email-masked], [email-masked], 
> 	[email-masked]
> 
> For macOS, we'll have to do this via objective-c so would be the lower-level function that would post the
> event.

Yes, platforms that get the event from their window-systems should do
it in C.  Then we'd need to define a new event kind and inject it.