Mercurial > emacs
comparison src/xmenu.c @ 90188:01137c1fdbe9
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
author | Miles Bader <miles@gnu.org> |
---|---|
date | Mon, 06 Jun 2005 02:39:45 +0000 |
parents | 5b029ff3b08d b83593f0515d |
children | 173dee4e2611 |
comparison
equal
deleted
inserted
replaced
90187:587ea1490d70 | 90188:01137c1fdbe9 |
---|---|
1233 And make sure to deactivate for any ButtonRelease, | 1233 And make sure to deactivate for any ButtonRelease, |
1234 even if XtDispatchEvent doesn't do that. */ | 1234 even if XtDispatchEvent doesn't do that. */ |
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 |
1241 activate its callbacks; setting the XmNmenuPost | 1245 activate its callbacks; setting the XmNmenuPost |
1242 isn't working. --marcus@sysc.pdx.edu. */ | 1246 isn't working. --marcus@sysc.pdx.edu. */ |