GNU bug report logs - #6499
23.1; Emacs gets stuck waiting for menu input

Previous Next

Package: emacs;

Reported by: Marius Kjeldahl <marius <at> kjeldahl.net>

Date: Wed, 23 Jun 2010 16:09:01 UTC

Severity: important

Tags: patch

Merged with 7095, 7162, 7212, 7294, 7714, 7734

Found in versions 23.1, 23.2

Fixed in version 23.3

Done: Jan Djärv <jan.h.d <at> swipnet.se>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Chong Yidong <cyd <at> stupidchicken.com>
To: Jan Djärv <jan.h.d <at> swipnet.se>
Cc: Tobias Bading <tbading <at> web.de>, Sven Joachim <svenjoac <at> gmx.de>, Marius Kjeldahl <marius <at> kjeldahl.net>, 6499 <at> debbugs.gnu.org
Subject: bug#6499: 23.1; Emacs gets stuck waiting for menu input
Date: Sat, 17 Jul 2010 00:07:25 -0400
Jan Djärv <jan.h.d <at> swipnet.se> writes:

> 2010-07-14  Jan Djärv  <jan.h.d <at> swipnet.se>
>
> * xterm.h (x_menubar_window_to_frame): Second parameter is XEvent*.
>
> * xterm.c (handle_one_xevent): Pass event to x_menubar_window_to_frame.
>
> * xmenu.c (x_activate_menubar): Revert previous fix for Bug#6499,
> i.e. don't put back ButtonRelease (Bug#6608).
>
> * xfns.c (x_menubar_window_to_frame): Take XEvent as second parameter
> instead of Window.  Call xg_event_is_for_menubar when
> USE_GTK (Bug#6499).
>
> * gtkutil.h (xg_event_is_for_menubar): Declare.
>
> * gtkutil.c (xg_event_is_for_menubar): New function (Bug#6499).

There is a problem with this change:

1. emacs -Q
2. Click (mouse-1) on any part of the buffer.
   If necessary, do this a couple more times

The result is that the tool-bar grabs focus.




This bug report was last modified 14 years and 118 days ago.

Previous Next


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