Mercurial > emacs
view admin/notes/newfile @ 109391:a4e57fa6eb3f
Fix menu bar activation with click for Motif/Lesstif.
* src/xdisp.c (pending_menu_activation): Remove extern declaration.
(prepare_menu_bars): Remove setting of pending_menu_activation.
* src/xmenu.c (pending_menu_activation): Remove.
(x_activate_menubar): Set popup_activated_flag for Xt also. Remove
setting of pending_menu_activation.
(set_frame_menubar): Remove check of pending_menu_activation.
Declare menubar_size before code. Correct spelling in comment.
* src/xterm.c (xm_scroll_callback, x_process_timeouts): K&R => prototype.
(SET_SAVED_KEY_EVENT): Remove (not used).
(SET_SAVED_MENU_EVENT): Rename to SET_SAVED_BUTTON_EVENT and
remove size parameter.
(handle_one_xevent): Check popup_activated () for menu for Xt also.
Remove #ifdef USE_GTK around finish = X_EVENT_DROP.
Remove #ifdef USE_MOTIF code that did SET_SAVED_BUTTON_EVENT for
ButtonRelease.
author | Jan D <jan.h.d@swipnet.se> |
---|---|
date | Wed, 14 Jul 2010 16:32:25 +0200 |
parents | 43f8ac6763d9 |
children |
line wrap: on
line source
CHECKLIST FOR ADDING A NEW FILE TO EMACS -*- outline -*- ** Make sure the author(s) have a copyright assignment/disclaimer. ** Make sure the file matches the standard Emacs template (header format, copyright and license notice, etc). ** Make sure the filename does not cause the DOS port any problems (8+3). Run the `doschk' program like this: find /path/to/emacs -print | doschk and examine the output for DOS-related problems. The sections of output under the headings "The following files are not valid DOS file names:" and "The following resolve to the same DOS file names:" should not include any files that end up in the release tarball. ** Make the ChangeLog entry in the name of the author(s), not your own name. ** If appropriate, check that the file compiles OK and that Emacs builds fine with it. Address any compilation warnings. ** If a major contribution, consider adding an entry to the Acknowledgments in doc/emacs/emacs.texi and ack.texi. ** If appropriate, add a short NEWS entry. ** If appropriate, update make-dist (not needed with "standard" file names, eg *.el).