diff options
| author | Jim Blandy | 1993-07-18 06:29:55 +0000 |
|---|---|---|
| committer | Jim Blandy | 1993-07-18 06:29:55 +0000 |
| commit | 041b69acff52c98d6cfb0a10e0c94623a42df9ed (patch) | |
| tree | 57a97eb3fd3edba6ebeeb9dade1691ce7da51ca1 /src | |
| parent | d387c9605bd65d390919265c999c4dd28c0474a8 (diff) | |
| download | emacs-041b69acff52c98d6cfb0a10e0c94623a42df9ed.tar.gz emacs-041b69acff52c98d6cfb0a10e0c94623a42df9ed.zip | |
* xterm.c (x_term_init): Adjust message printed when we can't
connect to the X server.
* xterm.c (XTread_socket, UnmapNotify case): Add missing comment
terminator.
* xterm.c, sysdep.c (F_SETOWN_BUG): Defined.
* m/dpx2.h: New file.
Diffstat (limited to 'src')
| -rw-r--r-- | src/xterm.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/xterm.c b/src/xterm.c index e43dba33ef9..cbf30e3641c 100644 --- a/src/xterm.c +++ b/src/xterm.c | |||
| @@ -2861,7 +2861,7 @@ XTread_socket (sd, bufp, numchars, waitp, expected) | |||
| 2861 | /* The window manager never makes a window invisible | 2861 | /* The window manager never makes a window invisible |
| 2862 | ("withdrawn"); all it does is switch between visible | 2862 | ("withdrawn"); all it does is switch between visible |
| 2863 | and iconified. Frames get into the invisible state | 2863 | and iconified. Frames get into the invisible state |
| 2864 | only through x_make_frame_invisible. | 2864 | only through x_make_frame_invisible. */ |
| 2865 | if (FRAME_VISIBLE_P (f) || FRAME_ICONIFIED_P (f)) | 2865 | if (FRAME_VISIBLE_P (f) || FRAME_ICONIFIED_P (f)) |
| 2866 | f->async_iconified = 1; | 2866 | f->async_iconified = 1; |
| 2867 | } | 2867 | } |
| @@ -4707,15 +4707,18 @@ x_term_init (display_name) | |||
| 4707 | { | 4707 | { |
| 4708 | Lisp_Object frame; | 4708 | Lisp_Object frame; |
| 4709 | char *defaultvalue; | 4709 | char *defaultvalue; |
| 4710 | #ifndef F_SETOWN_BUG | ||
| 4710 | #ifdef F_SETOWN | 4711 | #ifdef F_SETOWN |
| 4711 | extern int old_fcntl_owner; | 4712 | extern int old_fcntl_owner; |
| 4712 | #endif /* ! defined (F_SETOWN) */ | 4713 | #endif /* ! defined (F_SETOWN) */ |
| 4714 | #endif /* F_SETOWN_BUG */ | ||
| 4713 | 4715 | ||
| 4714 | x_focus_frame = x_highlight_frame = 0; | 4716 | x_focus_frame = x_highlight_frame = 0; |
| 4715 | 4717 | ||
| 4716 | x_current_display = XOpenDisplay (display_name); | 4718 | x_current_display = XOpenDisplay (display_name); |
| 4717 | if (x_current_display == 0) | 4719 | if (x_current_display == 0) |
| 4718 | fatal ("X server %s not responding; check the DISPLAY environment variable or use \"-d\"\n", | 4720 | fatal ("X server %s not responding.\n\ |
| 4721 | Check the DISPLAY environment variable or use \"-d\"\n", | ||
| 4719 | display_name); | 4722 | display_name); |
| 4720 | 4723 | ||
| 4721 | #ifdef HAVE_X11 | 4724 | #ifdef HAVE_X11 |
| @@ -4780,6 +4783,7 @@ x_term_init (display_name) | |||
| 4780 | 4783 | ||
| 4781 | #endif /* ! defined (HAVE_X11) */ | 4784 | #endif /* ! defined (HAVE_X11) */ |
| 4782 | 4785 | ||
| 4786 | #ifndef F_SETOWN_BUG | ||
| 4783 | #ifdef F_SETOWN | 4787 | #ifdef F_SETOWN |
| 4784 | old_fcntl_owner = fcntl (0, F_GETOWN, 0); | 4788 | old_fcntl_owner = fcntl (0, F_GETOWN, 0); |
| 4785 | #ifdef F_SETOWN_SOCK_NEG | 4789 | #ifdef F_SETOWN_SOCK_NEG |
| @@ -4788,6 +4792,7 @@ x_term_init (display_name) | |||
| 4788 | fcntl (0, F_SETOWN, getpid ()); | 4792 | fcntl (0, F_SETOWN, getpid ()); |
| 4789 | #endif /* ! defined (F_SETOWN_SOCK_NEG) */ | 4793 | #endif /* ! defined (F_SETOWN_SOCK_NEG) */ |
| 4790 | #endif /* ! defined (F_SETOWN) */ | 4794 | #endif /* ! defined (F_SETOWN) */ |
| 4795 | #endif /* F_SETOWN_BUG */ | ||
| 4791 | 4796 | ||
| 4792 | #ifdef SIGIO | 4797 | #ifdef SIGIO |
| 4793 | init_sigio (); | 4798 | init_sigio (); |