Hi,

here's a small patch, just one character ...

greetings, Daniel

---8<---

XShmQueryExtension returns true if it is supported. Due to a missing "!"
within the if clause the assumption was that there is no MIT-SHM even if
it was.
---
 src/xlibclient.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/xlibclient.c b/src/xlibclient.c
index f58106a..1aa3590 100644
--- a/src/xlibclient.c
+++ b/src/xlibclient.c
@@ -100,7 +100,7 @@ NestedClientTryXShm(NestedClientPrivatePtr pPriv, int 
scrnIndex, int width, int
     int shmMajor, shmMinor;
     Bool hasSharedPixmaps;
 
-    if (XShmQueryExtension(pPriv->display)) {
+    if (!XShmQueryExtension(pPriv->display)) {
         xf86DrvMsg(scrnIndex, X_INFO, "XShmQueryExtension failed.  Dropping 
XShm support.\n");
 
         return FALSE;
-- 
1.7.5.4

_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to