XWorkstat.st
changeset 1990 201f8ecfdad3
parent 1979 1cfb8e10e258
child 1995 1ff668145d23
equal deleted inserted replaced
1989:99b008b4a4e9 1990:201f8ecfdad3
   317 			event->minor_code, event->minor_code, event->resourceid);
   317 			event->minor_code, event->minor_code, event->resourceid);
   318 	fprintf(stderr, "XWorkstation [error]: x-error message is [%d] '%s'\n", 
   318 	fprintf(stderr, "XWorkstation [error]: x-error message is [%d] '%s'\n", 
   319 			event->error_code, lastErrorMsg);
   319 			event->error_code, lastErrorMsg);
   320     }
   320     }
   321 
   321 
   322     __errorInterruptWithIDAndParameter__(@symbol(DisplayError), 
   322     __errorInterruptWithIDAndParameter__(@symbol(DisplayError), __MKEXTERNALADDRESS(dpy));
   323 					 __MKEXTERNALADDRESS(dpy));
       
   324     return 0;
   323     return 0;
   325 }
   324 }
   326 
   325 
   327 /*
   326 /*
   328  * much like the above, but for IO Errors;
   327  * much like the above, but for IO Errors;
   364     /*
   363     /*
   365      * must immediately flush that displays deviceID - otherwise,
   364      * must immediately flush that displays deviceID - otherwise,
   366      * the scheduler may try to ask for pending events without a watchdog
   365      * the scheduler may try to ask for pending events without a watchdog
   367      * timer ...
   366      * timer ...
   368      */
   367      */
   369     __SSEND0(displayDeviceInst, @symbol(requestTimeoutError), 0);
   368     __OINST(displayDeviceInst, displayId) = nil;
   370 
   369 
   371     __immediateErrorInterruptWithIDAndParameter__(@symbol(DisplayIOTimeoutError), 
   370     __immediateErrorInterruptWithIDAndParameter__(@symbol(DisplayIOTimeoutError), displayDeviceInst);
   372 						  displayDeviceInst);
       
   373     __internalError("unhandled display Timeout error");
   371     __internalError("unhandled display Timeout error");
       
   372 
   374     __terminateProcess(0);      /* soft terminate */
   373     __terminateProcess(0);      /* soft terminate */
   375     __terminateProcess(1);      /* hard terminate */
   374     __terminateProcess(1);      /* hard terminate */
   376 }
   375 }
   377 
   376 
   378 #ifdef VIRTUAL_ROOT
   377 #ifdef VIRTUAL_ROOT
  7697 
  7696 
  7698 reinitialize
  7697 reinitialize
  7699     virtualRootId := rootId := nil.
  7698     virtualRootId := rootId := nil.
  7700     super reinitialize.
  7699     super reinitialize.
  7701     dispatchingExpose := nil
  7700     dispatchingExpose := nil
  7702 !
       
  7703 
       
  7704 requestTimeoutError
       
  7705     "/ 'clearing displayID ...' errorPrintCR.
       
  7706     displayId := nil.
       
  7707 ! !
  7701 ! !
  7708 
  7702 
  7709 !XWorkstation methodsFor:'keyboard mapping'!
  7703 !XWorkstation methodsFor:'keyboard mapping'!
  7710 
  7704 
  7711 altModifierMask
  7705 altModifierMask
  9894 ! !
  9888 ! !
  9895 
  9889 
  9896 !XWorkstation class methodsFor:'documentation'!
  9890 !XWorkstation class methodsFor:'documentation'!
  9897 
  9891 
  9898 version
  9892 version
  9899     ^ '$Header: /cvs/stx/stx/libview/Attic/XWorkstat.st,v 1.271 1998-01-12 21:31:27 cg Exp $'
  9893     ^ '$Header: /cvs/stx/stx/libview/Attic/XWorkstat.st,v 1.272 1998-01-19 19:13:02 cg Exp $'
  9900 ! !
  9894 ! !
  9901 XWorkstation initialize!
  9895 XWorkstation initialize!