Mercurial > hg > xemacs-beta
diff src/device-x.c @ 2007:65a5016a896f
[xemacs-hg @ 2004-04-12 10:35:11 by stephent]
fix X hangs <877jwl8p3x.fsf@tleepslib.sk.tsukuba.ac.jp>
author | stephent |
---|---|
date | Mon, 12 Apr 2004 10:35:13 +0000 |
parents | da8cdcec6dff |
children | ce294639d321 |
line wrap: on
line diff
--- 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); }