unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Ralf Fassel <ralfixx@gmx.de>
Cc: gnu-emacs-bug@moderators.isc.org
Subject: Re: [jonathan.the-seng1@etud.univ-ubs.fr: bug emacs]
Date: Wed, 27 Mar 2002 09:50:53 +0100	[thread overview]
Message-ID: <15521.34797.986082.722896@jupiter.akutech-local.de> (raw)
In-Reply-To: <200203262318.g2QNICo08202@aztec.santafe.edu>

* Richard Stallman
|     Other programs seem to issue a global grab while posting the menu, so
|     the keyboard shortcuts don't reach the window manager, and no Desktop
|     switching takes place until the menu is unposted.
| 
| It might be good for Emacs to do this--do you know how?

A quick grep for `grab' in the emacs source tree points to:

*** emacs-21.2/lwlib/xlwmenu.c~	Mon Apr 30 16:34:54 2001
--- emacs-21.2/lwlib/xlwmenu.c	Wed Mar 27 09:42:04 2002
***************
*** 2121,2127 ****
  		  | PointerMotionHintMask
  		  | ButtonReleaseMask
  		  | ButtonPressMask),
! 		 GrabModeAsync, GrabModeAsync, None,
  		 mw->menu.cursor_shape,
  		 event->time);
    pointer_grabbed = 1;
--- 2121,2127 ----
  		  | PointerMotionHintMask
  		  | ButtonReleaseMask
  		  | ButtonPressMask),
! 		 GrabModeAsync, GrabModeSync, None,
  		 mw->menu.cursor_shape,
  		 event->time);
    pointer_grabbed = 1;

Diff finished at Wed Mar 27 09:45:38

But there seems to be more work necessary, as the patch above only
queues the keys, so that they are processed when the menu is released.
I would expect them to be flushed in some way.

Someone more with more knowledge about X11 should have a look at how
this is usually done.

R'

  reply	other threads:[~2002-03-27  8:50 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-03-24 15:53 [jonathan.the-seng1@etud.univ-ubs.fr: bug emacs] Richard Stallman
2002-03-24 21:36 ` Robert Marshall
2002-03-25 12:01   ` Richard Stallman
2002-03-25 12:42     ` Robert Marshall
2002-03-25 14:11       ` Ralf Fassel
2002-03-26 23:18         ` Richard Stallman
2002-03-27  8:50           ` Ralf Fassel [this message]
2002-03-27 15:46             ` Stefan Monnier
2002-04-03 22:49               ` Richard Stallman
2002-04-03 23:31                 ` Stefan Monnier
2002-04-05  6:02                   ` Richard Stallman
2002-04-05 14:31                     ` Stefan Monnier
2002-04-05 23:41                       ` Richard Stallman
2002-03-28  4:54             ` Richard Stallman
2002-04-02 11:09         ` Stephen Berman
2002-03-26 23:18       ` Richard Stallman
2002-03-26 16:21     ` Stefan Monnier
2002-03-28  4:56       ` Richard Stallman
2002-03-28  9:07         ` Ralf Fassel
2002-03-28 14:27         ` Stefan Monnier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=15521.34797.986082.722896@jupiter.akutech-local.de \
    --to=ralfixx@gmx.de \
    --cc=gnu-emacs-bug@moderators.isc.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).