mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-09 13:10:57 -08:00
* xterm.c (x_term_init): For GTK part, increase x_initialized
to check for more than one display. Use error instead of return 0.
This commit is contained in:
parent
043131c4a7
commit
6cc8bc072c
2 changed files with 7 additions and 1 deletions
|
|
@ -1,3 +1,8 @@
|
|||
2003-10-31 Jan Dj,Ad(Brv <jan.h.d@swipnet.se>
|
||||
|
||||
* xterm.c (x_term_init): For GTK part, increase x_initialized
|
||||
to check for more than one display. Use error instead of return 0.
|
||||
|
||||
2003-10-31 Andrew Choi <akochoi@shaw.ca>
|
||||
|
||||
* unexmacosx.c (unrelocate): New function (contributed by Nozomu
|
||||
|
|
|
|||
|
|
@ -10204,7 +10204,8 @@ x_term_init (display_name, xrm_option, resource_name)
|
|||
/* GTK 2.0 can only handle one display, GTK 2.2 can handle more
|
||||
than one, but this remains to be implemented. */
|
||||
if (x_initialized > 1)
|
||||
return 0;
|
||||
error("Sorry, the GTK port can only handle one display.");
|
||||
++x_initialized;
|
||||
|
||||
for (argc = 0; argc < NUM_ARGV; ++argc)
|
||||
argv[argc] = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue