--- a/GLXWorkstation.st Fri Nov 10 18:06:29 1995 +0100
+++ b/GLXWorkstation.st Fri Nov 10 22:20:32 1995 +0100
@@ -21,7 +21,7 @@
COPYRIGHT (c) 1993 by Claus Gittinger
All Rights Reserved
-$Header: /cvs/stx/stx/libview/GLXWorkstation.st,v 1.35 1995-11-10 17:00:56 cg Exp $
+$Header: /cvs/stx/stx/libview/GLXWorkstation.st,v 1.36 1995-11-10 21:19:55 cg Exp $
'!
!GLXWorkstation class methodsFor:'documentation'!
@@ -42,7 +42,7 @@
version
"
-$Header: /cvs/stx/stx/libview/GLXWorkstation.st,v 1.35 1995-11-10 17:00:56 cg Exp $
+$Header: /cvs/stx/stx/libview/GLXWorkstation.st,v 1.36 1995-11-10 21:19:55 cg Exp $
"
!
@@ -353,10 +353,12 @@
lastMinorCode = event->minor_code;
lastResource = event->resourceid;
- fprintf(stderr, "XWORKSTAT: x-error cought maj=%d (0x%x) min=%d (0x%x) resource=%x\n",
- event->request_code, event->request_code,
- event->minor_code, event->minor_code, event->resourceid);
- fprintf(stderr, "XWORKSTAT: x-error message is '%s'\n", lastErrorMsg);
+ if (@global(ErrorPrinting) == true) {
+ fprintf(stderr, "XWORKSTAT: x-error cought maj=%d (0x%x) min=%d (0x%x) resource=%x\n",
+ event->request_code, event->request_code,
+ event->minor_code, event->minor_code, event->resourceid);
+ fprintf(stderr, "XWORKSTAT: x-error message is '%s'\n", lastErrorMsg);
+ }
__errorInterruptWithIDAndParameter__(@symbol(DisplayError), __MKOBJ(dpy));
return 0;