--- a/XWorkstation.st Tue Mar 06 18:41:10 2012 +0100
+++ b/XWorkstation.st Tue Mar 06 19:52:23 2012 +0100
@@ -149,6 +149,10 @@
# include <X11/extensions/XIE.h>
#endif
+#ifdef XINERAMA
+# include <X11/extensions/Xinerama.h>
+#endif
+
/*
* when I have more time to check it out, I will support display-PS
*/
@@ -8501,6 +8505,29 @@
"
!
+queryXINERAMAExtension
+%{ /* NOCONTEXT */
+
+#ifdef XINERAMA
+ if (ISCONNECTED) {
+ Display *dpy;
+ int dummy;
+
+ dpy = myDpy;
+
+ if (XineramaQueryExtension (Display *dpy, &dummy, &dummy)) {
+ RETURN ( true );
+ }
+ }
+#endif
+%}.
+ ^ false
+
+ "
+ Display queryXINERAMAExtension
+ "
+!
+
queryXVideoExtension
%{ /* NOCONTEXT */
@@ -12059,7 +12086,7 @@
!XWorkstation class methodsFor:'documentation'!
version_CVS
- ^ '$Header: /cvs/stx/stx/libview/XWorkstation.st,v 1.524 2012-03-06 17:41:10 stefan Exp $'
+ ^ '$Header: /cvs/stx/stx/libview/XWorkstation.st,v 1.525 2012-03-06 18:52:23 stefan Exp $'
!
version_SVN