diff options
| author | Miles Bader | 2005-06-06 02:39:45 +0000 |
|---|---|---|
| committer | Miles Bader | 2005-06-06 02:39:45 +0000 |
| commit | fdffd346262841cb194225ea0acd8059c57ec2d4 (patch) | |
| tree | d8b3699131f7d1b94bc46c7d8be62af6b8b5ebfe /src/xmenu.c | |
| parent | a5c508fe3a3f456c987283156315d0384d38fe9e (diff) | |
| parent | a9b4333620eb259e974445066a8e64cee0c21d69 (diff) | |
| download | emacs-fdffd346262841cb194225ea0acd8059c57ec2d4.tar.gz emacs-fdffd346262841cb194225ea0acd8059c57ec2d4.zip | |
Revision: miles@gnu.org--gnu-2005/emacs--unicode--0--patch-57
Merge from emacs--cvs-trunk--0
Patches applied:
* emacs--cvs-trunk--0 (patch 324-352)
- Merge from gnus--rel--5.10
- Update from CVS
- etc/emacs-buffer.gdb: Remove RCS keywords
* gnus--rel--5.10 (patch 70-79)
- Update from CVS
- Merge from emacs--cvs-trunk--0
Diffstat (limited to 'src/xmenu.c')
| -rw-r--r-- | src/xmenu.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/xmenu.c b/src/xmenu.c index 9103d32e1c9..826c9330c46 100644 --- a/src/xmenu.c +++ b/src/xmenu.c | |||
| @@ -1235,6 +1235,10 @@ popup_get_selection (initial_event, dpyinfo, id, do_timers) | |||
| 1235 | if (event.type == ButtonRelease | 1235 | if (event.type == ButtonRelease |
| 1236 | && dpyinfo->display == event.xbutton.display) | 1236 | && dpyinfo->display == event.xbutton.display) |
| 1237 | { | 1237 | { |
| 1238 | /* If the click is not on the menu, deactivate the menu. */ | ||
| 1239 | if (x_any_window_to_frame (dpyinfo, event.xexpose.window)) | ||
| 1240 | popup_activated_flag = 0; | ||
| 1241 | |||
| 1238 | dpyinfo->grabbed &= ~(1 << event.xbutton.button); | 1242 | dpyinfo->grabbed &= ~(1 << event.xbutton.button); |
| 1239 | #ifdef USE_MOTIF /* Pretending that the event came from a | 1243 | #ifdef USE_MOTIF /* Pretending that the event came from a |
| 1240 | Btn1Down seems the only way to convince Motif to | 1244 | Btn1Down seems the only way to convince Motif to |