# HG changeset patch # User stephent # Date 1081766113 0 # Node ID 65a5016a896f735f846fc1210e60909253d5555f # Parent 1ea9c87af805a32c9de2644413dd03665f3236a8 [xemacs-hg @ 2004-04-12 10:35:11 by stephent] fix X hangs <877jwl8p3x.fsf@tleepslib.sk.tsukuba.ac.jp> diff -r 1ea9c87af805 -r 65a5016a896f src/ChangeLog --- a/src/ChangeLog Mon Apr 12 10:11:50 2004 +0000 +++ b/src/ChangeLog Mon Apr 12 10:35:13 2004 +0000 @@ -1,3 +1,7 @@ +2004-01-30 Glynn Clements + + * device-x.c (x_error_handler): Don't call stderr_out + 2004-04-08 Jerry James * data.c: Use #ifndef for functions unused with new number types. diff -r 1ea9c87af805 -r 65a5016a896f src/device-x.c --- a/src/device-x.c Mon Apr 12 10:11:50 2004 +0000 +++ b/src/device-x.c Mon Apr 12 10:35:13 2004 +0000 @@ -786,6 +786,8 @@ validify_resource_component ((char *) XSTRING_DATA (DEVICE_NAME (d)), XSTRING_LENGTH (DEVICE_NAME (d))); + /* #### If we're going to implement X session management, this would + be the place. Make sure it doesn't conflict with GNOME. */ { Arg al[3]; XtSetArg (al[0], XtNvisual, visual); @@ -1081,10 +1083,14 @@ /* #### this should issue a warning instead of outputting to stderr */ depth = begin_dont_check_for_quit (); +#if 0 + /* This ends up calling X, which isn't allowed in an X error handler + */ stderr_out ("\n%s: ", (STRINGP (Vinvocation_name) ? (char *) XSTRING_DATA (Vinvocation_name) : "xemacs")); +#endif XmuPrintDefaultErrorMessage (disp, event, stderr); unbind_to (depth); }