Mercurial > emacs
view src/s/dgux5-4-3.h @ 19711:dc9694ee3f70
(init_menu_items): Disable code.
(x_activate_menubar): New function.
(initialize_frame_menubar): Pass in new param to set_frame_menubar.
(get_frame_menubar_event): Check for the possibility
of a menu-bar button. A menu-bar button is a caption on the menu
bar with no submenu.
(set_frame_menubar): Correctly handle menu-bar buttons.
(add_menu_item): Equiv parameter send and paid attention to.
(keymap_panes, list_of_panes): Use CreatePopupMenu.
(single_keymap_panes): Use CreatePopupMenu. Send key descriptions
to add_menu_item.
(list_of_items): Use CreatePopupMenu. Send nil description to
add_menu_item.
(get_menu_event): Send keymap instead of menu to get_keymap_event.
(Fx_popup_menu): Extra parameter to mouse_position_hook. Don't
send address of menu to win32menu_show.
(win32menu_show): Send message to call popup menu rather than
trying directly. get_menu_event should take an address.
Call eat_mouse_events in order to get rid of any extraneous
mouse events.
(list_of_panes): Only bring up one pane if the length of the list
of panes is one.
(single_keymap_panes): Fixed problem with 'descrip'
lisp object not being protected properly (GCPRO).
(get_single_keymap_event): Fixed problem with 'descrip' lisp
object not being protected properly (GCPRO).
(name_is_separator): New function.
(list_of_panes): If a pane's name is empty ("") items are now
placed in the main popup instead of a blank-named submenu. This
seems to be an undocumented feature of x-popup-menu.
(list_of_items): New argument HMENU.
Use 1 and 0 instead of Qt and Qnil for enable in add_menu_item
author | Geoff Voelker <voelker@cs.washington.edu> |
---|---|
date | Wed, 03 Sep 1997 00:53:34 +0000 |
parents | ee40177f6c68 |
children | ee5224740210 |
line wrap: on
line source
/* Definitions file for GNU Emacs running on Data General's DG/UX version 5.4 Release 3.00 and above. Copyright (C) 1994 Free Software Foundation, Inc. This file is part of GNU Emacs. GNU Emacs is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. GNU Emacs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with GNU Emacs; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ /* NOTE: DGUX5.4R3.00 will not build with the delivered gcc-2.4.5 compiler. You must upgraded to at least gcc-2.5.8. If you are running DGUX 5.4R3.00 check on the system dg-rtp.dg.com:/pub/gnu for gcc-2.5.8 or later compiler. -pmr@pajato.com */ #include "dgux5-4r2.h" /* DGUX 5.4R3.00 brought the definition of `struct inet_addr' into compliance with the majority of Unix systems. The workaround introduced in 5.4R2 is no longer necessary. */ #ifdef HAVE_BROKEN_INET_ADDR #undef HAVE_BROKEN_INET_ADDR #endif /* The `stop on tty output' problem which occurs when using INTERRUPT_INPUT and when Emacs is invoked under X11 using a job control shell (csh, ksh, etc.) in the background has not been fixed in DGUX 5.4R3.00. -pmr@pajato.com */ #if 0 #ifdef BROKEN_FIONREAD #undef BROKEN_FIONREAD #endif #ifndef INTERRUPT_INPUT #define INTERRUPT_INPUT #endif #endif /* Under DGUX 5.4R3.00, getting a debuggable executable has been greatly simplified and applies to either COFF or ELF environments. */ #ifdef C_DEBUG_SWITCH #undef C_DEBUG_SWITCH #define C_DEBUG_SWITCH -g #endif