XWorkstation.st
changeset 5865 35046414f412
parent 5864 73ee1b994507
child 5869 93ccf272ad13
equal deleted inserted replaced
5864:73ee1b994507 5865:35046414f412
   145 /*
   145 /*
   146  * XImage extension - if available
   146  * XImage extension - if available
   147  */
   147  */
   148 #ifdef XIE
   148 #ifdef XIE
   149 # include <X11/extensions/XIE.h>
   149 # include <X11/extensions/XIE.h>
       
   150 #endif
       
   151 
       
   152 #ifdef XINERAMA
       
   153 # include <X11/extensions/Xinerama.h>
   150 #endif
   154 #endif
   151 
   155 
   152 /*
   156 /*
   153  * when I have more time to check it out, I will support display-PS
   157  * when I have more time to check it out, I will support display-PS
   154  */
   158  */
  8499     "
  8503     "
  8500      Display queryXIExtension
  8504      Display queryXIExtension
  8501     "
  8505     "
  8502 !
  8506 !
  8503 
  8507 
       
  8508 queryXINERAMAExtension
       
  8509 %{  /* NOCONTEXT */
       
  8510 
       
  8511 #ifdef XINERAMA
       
  8512     if (ISCONNECTED) {
       
  8513         Display *dpy;
       
  8514         int dummy;
       
  8515 
       
  8516         dpy = myDpy;
       
  8517 
       
  8518         if (XineramaQueryExtension (Display *dpy, &dummy, &dummy)) {
       
  8519             RETURN ( true );
       
  8520         }
       
  8521     }
       
  8522 #endif
       
  8523 %}.
       
  8524     ^ false
       
  8525 
       
  8526     "
       
  8527      Display queryXINERAMAExtension
       
  8528     "
       
  8529 !
       
  8530 
  8504 queryXVideoExtension
  8531 queryXVideoExtension
  8505 %{  /* NOCONTEXT */
  8532 %{  /* NOCONTEXT */
  8506 
  8533 
  8507 #ifdef XVIDEO
  8534 #ifdef XVIDEO
  8508     if (ISCONNECTED) {
  8535     if (ISCONNECTED) {
 12057 ! !
 12084 ! !
 12058 
 12085 
 12059 !XWorkstation class methodsFor:'documentation'!
 12086 !XWorkstation class methodsFor:'documentation'!
 12060 
 12087 
 12061 version_CVS
 12088 version_CVS
 12062     ^ '$Header: /cvs/stx/stx/libview/XWorkstation.st,v 1.524 2012-03-06 17:41:10 stefan Exp $'
 12089     ^ '$Header: /cvs/stx/stx/libview/XWorkstation.st,v 1.525 2012-03-06 18:52:23 stefan Exp $'
 12063 !
 12090 !
 12064 
 12091 
 12065 version_SVN
 12092 version_SVN
 12066     ^ '§ Id §'
 12093     ^ '§ Id §'
 12067 ! !
 12094 ! !