Mercurial > emacs
annotate src/s/dgux5-4r2.h @ 15151:ed6ddfc0d954
(Vwindow_system): Declared.
(win32_fill_rect, dumpglyphs, do_line_dance, x_draw_box):
Use Get/ReleaseFrameDC.
(pixel_to_glyph_coords): Support tty mode.
(w32_read_socket): Explicitly use FALSE.
Handle WM_PALLETTECHANGED event.
(parse_button): Handle mouse button emulation.
(my_show_window, my_set_window_pos): New functions.
(x_set_offset, x_set_window_size, x_raise_frame, x_lower_frame):
Use my_set_window_pos.
(x_make_frame_visible, x_iconify_frame): Use my_show_window.
(x_draw_box): Don't trim right and bottom.
(x_make_frame_visible): Don't invoke SetForgroundWindow.
(win32_term_init): Use GetDC directly. Initialize palette
and win32_num_mouse_buttons.
(win32_update_begin): Regenerate palette if necessary.
(x_delete_display): Free palette.
(win32_initialize) [ATTACH_THREADS]: Only AttachThreadInput if
conditional is defined.
author | Geoff Voelker <voelker@cs.washington.edu> |
---|---|
date | Fri, 03 May 1996 18:45:32 +0000 |
parents | ee40177f6c68 |
children | 695cf19ef79e d7ddb3e565de |
rev | line source |
---|---|
7235 | 1 /* Definitions file for GNU Emacs running on Data General's DG/UX |
2 5.4 Release 2.xx systems. | |
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:
7235
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:
7235
diff
changeset
|
20 Boston, MA 02111-1307, USA. */ |
7235 | 21 |
22 #include "dgux.h" | |
23 | |
24 /* There is a known kernel bug in DGUX 5.4R2.xx when using | |
25 INTERRUPT_INPUT and invoking Emacs with a job control shell (csh, | |
26 ksh, etc.) in the background. This bug manifests itself by | |
27 outputting `stop on tty output' and hanging. The workaround is to | |
28 set BROKEN_FIONREAD. | |
29 -pmr@pajato.com */ | |
30 | |
31 #ifndef BROKEN_FIONREAD | |
32 #define BROKEN_FIONREAD | |
33 #endif | |
34 #ifdef INTERRUPT_INPUT | |
35 #undef INTERRUPT_INPUT | |
36 #endif | |
37 | |
38 /* In DGUX 5.4R2.xx the function inet_addr() returns a `struct | |
39 in_addr' instead of the more common `unsigned long'. | |
40 -pmr@pajato.com */ | |
41 | |
42 #define HAVE_BROKEN_INET_ADDR | |
43 | |
44 #if 0 /* Shawn M. Carey <smcarey@mailbox.syr.edu> found this | |
45 caused trouble on DGUX 5.4.2. */ | |
46 #define LIBS_SYSTEM -ldgc | |
47 #endif |