GNU bug report logs - #26104
26.0.50; In Ubuntu, having mouse over other frame cause Alt key to produce a <switch-frame> event

Previous Next

Package: emacs;

Reported by: Jonathan Ganc <jonganc <at> gmail.com>

Date: Wed, 15 Mar 2017 03:26:02 UTC

Severity: normal

Found in version 26.0.50

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


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

From: martin rudalics <rudalics <at> gmx.at>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: jonganc <at> gmail.com, 26104 <at> debbugs.gnu.org
Subject: Re: bug#26104: 26.0.50; In Ubuntu, having mouse over other frame
 cause Alt key to produce a <switch-frame> event
Date: Sat, 15 Apr 2017 21:39:13 +0200
> Heh, it looks like they copied the MS-Windows (mis)feature, whereby
> tapping the Alt key activates the menu bar, which would indeed require
> a focus-in event; seems like some GNU/Linux distros have joined this
> lunacy.  In the MS-Windows build, we have w32-pass-alt-to-system to
> control that.

If I'm not mistaken, on MS-Windows you can activate the menu bar of a
window via the Alt key iff that window has focus already.  I still fail
to understand how pressing the Alt key could transfer focus to another
window.

> Perhaps we should generalize w32-pass-alt-to-system instead?  Assuming
> an application can control this behavior on GNU/Linux, that is.

If Compiz can, Emacs should be able to do that too.

martin




This bug report was last modified 3 years and 27 days ago.

Previous Next


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