Mercurial > emacs
annotate 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 |
rev | line source |
---|---|
7242 | 1 /* Definitions file for GNU Emacs running on Data General's DG/UX |
2 version 5.4 Release 3.00 and above. | |
3 Copyright (C) 1994 Free Software Foundation, Inc. | |
4 | |
5 This file is part of GNU Emacs. | |
6 | |
7 GNU Emacs is free software; you can redistribute it and/or modify | |
8 it under the terms of the GNU General Public License as published by | |
9 the Free Software Foundation; either version 2, or (at your option) | |
10 any later version. | |
11 | |
12 GNU Emacs is distributed in the hope that it will be useful, | |
13 but WITHOUT ANY WARRANTY; without even the implied warranty of | |
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
15 GNU General Public License for more details. | |
16 | |
17 You should have received a copy of the GNU General Public License | |
18 along with GNU Emacs; see the file COPYING. If not, write to | |
14186
ee40177f6c68
Update FSF's address in the preamble.
Erik Naggum <erik@naggum.no>
parents:
14036
diff
changeset
|
19 the Free Software Foundation, Inc., 59 Temple Place - Suite 330, |
ee40177f6c68
Update FSF's address in the preamble.
Erik Naggum <erik@naggum.no>
parents:
14036
diff
changeset
|
20 Boston, MA 02111-1307, USA. */ |
7242 | 21 |
22 /* NOTE: DGUX5.4R3.00 will not build with the delivered gcc-2.4.5 | |
23 compiler. You must upgraded to at least gcc-2.5.8. If you are | |
24 running DGUX 5.4R3.00 check on the system dg-rtp.dg.com:/pub/gnu | |
25 for gcc-2.5.8 or later compiler. | |
26 -pmr@pajato.com */ | |
27 | |
7388 | 28 #include "dgux5-4r2.h" |
7242 | 29 |
30 /* DGUX 5.4R3.00 brought the definition of `struct inet_addr' into | |
14036 | 31 compliance with the majority of Unix systems. The workaround |
7242 | 32 introduced in 5.4R2 is no longer necessary. */ |
33 | |
34 #ifdef HAVE_BROKEN_INET_ADDR | |
35 #undef HAVE_BROKEN_INET_ADDR | |
36 #endif | |
37 | |
38 /* The `stop on tty output' problem which occurs when using | |
39 INTERRUPT_INPUT and when Emacs is invoked under X11 using a job | |
40 control shell (csh, ksh, etc.) in the background has not been fixed in | |
41 DGUX 5.4R3.00. | |
42 -pmr@pajato.com */ | |
43 | |
44 #if 0 | |
45 #ifdef BROKEN_FIONREAD | |
46 #undef BROKEN_FIONREAD | |
47 #endif | |
48 #ifndef INTERRUPT_INPUT | |
49 #define INTERRUPT_INPUT | |
50 #endif | |
51 #endif | |
52 | |
53 /* Under DGUX 5.4R3.00, getting a debuggable executable has been | |
54 greatly simplified and applies to either COFF or ELF | |
55 environments. */ | |
56 | |
57 #ifdef C_DEBUG_SWITCH | |
58 #undef C_DEBUG_SWITCH | |
59 #define C_DEBUG_SWITCH -g | |
60 #endif |