# HG changeset patch # User Jan Dj¸«£rv # Date 1067637845 0 # Node ID 19c95cdf2c4a572391a807c6e5594bb6f91f1597 # Parent d9dc58d31ffb9fcfffb195f15d33f2a57e332c8c * xterm.c (x_term_init): For GTK part, increase x_initialized to check for more than one display. Use error instead of return 0. diff -r d9dc58d31ffb -r 19c95cdf2c4a src/ChangeLog --- a/src/ChangeLog Fri Oct 31 19:42:47 2003 +0000 +++ b/src/ChangeLog Fri Oct 31 22:04:05 2003 +0000 @@ -1,3 +1,8 @@ +2003-10-31 Jan Dj,Ad(Brv + + * 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 * unexmacosx.c (unrelocate): New function (contributed by Nozomu diff -r d9dc58d31ffb -r 19c95cdf2c4a src/xterm.c --- a/src/xterm.c Fri Oct 31 19:42:47 2003 +0000 +++ b/src/xterm.c Fri Oct 31 22:04:05 2003 +0000 @@ -10204,7 +10204,8 @@ /* 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;