GNU bug report logs - #76629
NS click events don't select right window

Previous Next

Package: emacs;

Reported by: Daniel Colascione <dancol <at> dancol.org>

Date: Fri, 28 Feb 2025 03:52:02 UTC

Severity: normal

Fixed in version 30.1

Done: Stefan Kangas <stefankangas <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


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

From: Stefan Kangas <stefankangas <at> gmail.com>
To: Mattias EngdegÄrd <mattias.engdegard <at> gmail.com>, 
 Daniel Colascione <dancol <at> dancol.org>
Cc: 76629 <at> debbugs.gnu.org
Subject: Re: bug#76629: NS click events don't select right window
Date: Mon, 3 Mar 2025 10:34:42 -0800
Mattias EngdegÄrd <mattias.engdegard <at> gmail.com> writes:

> This change appeared on master in 3545988740.
>
> Is there really a consensus for this? Click-through does not appear how (MacOS) applications work in general. While it seems useful for switching between unobscured Emacs windows, it's a bit surprising when clicking on a partially obscured Emacs in order to raise and activate it.
>
> Is there a way to make the behaviour more conditional in this respect? Or, at least, configurable.

IIUC, this is how Emacs used to behave on macOS, so I originally treated
this as just a bug fix.

That said, I have no objection to making it optional, of course.

I also don't have an opinion on what should be the default because:
- the historical behavior of Emacs, and similarity to other platforms,
  seem to speak in favor of having this on by default
- being consistent with macOS seems to speak in favor of having it off

Please let your voices be heard, if you have a reasoned opinion here.

Daniel, could you perhaps look into adding a defcustom for this?




This bug report was last modified 79 days ago.

Previous Next


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