GNU bug report logs - #79400
30.2; Windows: w32-notification-notify/-close handle frames incorrectly

Previous Next

Package: emacs;

Reported by: Raffael Stocker <r.stocker <at> mnet-mail.de>

Date: Sun, 7 Sep 2025 12:40:02 UTC

Severity: normal

Found in version 30.2

Full log


Message #8 received at 79400 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Raffael Stocker <r.stocker <at> mnet-mail.de>
Cc: 79400 <at> debbugs.gnu.org
Subject: Re: bug#79400: 30.2;
 Windows: w32-notification-notify/-close handle frames incorrectly
Date: Sun, 07 Sep 2025 16:47:04 +0300
> From: Raffael Stocker <r.stocker <at> mnet-mail.de>
> Date: Sun, 07 Sep 2025 14:37:54 +0200
> 
> The problem is that ‘w32-notification-notify’ and
> ‘w32-notification-close’ use ‘SELECTED_FRAME()’ to call the Windows API.
> This is fine for ‘-notify’, but not for ‘-close’, which should instead
> pass the frame used in the corresponding call to ‘-notify’.

What if that frame no longer exists?

> I would suggest changing the ID returned in ‘w32-notification-notify’ to
> a cons cell containing ID and frame.

Why not return an integer that is the handle of the frame's w32 window
instead?

Thanks.




This bug report was last modified 6 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.