Mercurial > emacs
view oldXMenu/README @ 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 | b6efdc75a68e |
children |
line wrap: on
line source
Most of the files in this directory are originally from the X11R2 XMenu library, distributed by MIT under the terms in the file copyright.h. As of Release 2 of the X Window System, Version 11 from MIT, the XMenu library is no longer supported. It is not used in any software supplied by MIT and its use is not encouraged. In X11R1, oldXMenu/ was found in the lib/ directory of the X11 source; but in X11R2 it was moved to contrib/. The following files are from the X11 oldXMenu/ directory: Activate.c AddPane.c AddSel.c ChgPane.c ChgSel.c Create.c DelPane.c DelSel.c Destroy.c Error.c EvHand.c FindPane.c FindSel.c InsPane.c InsSel.c Internal.c Locate.c Post.c Recomp.c SetAEQ.c SetFrz.c SetPane.c SetSel.c XMenu.h XMenuInt.h (renamed from "XMenuInternal.h") The following files are from the X11 oldX/ directory: X10.h XCrAssoc.c XDelAssoc.c XDestAssoc.c XLookAssoc.c XMakeAssoc.c This code is used by Emacs in the absence of an X-toolkit.