chiark / gitweb /
Show whether shm is on
authorIan Jackson <ian@liberator.relativity.greenend.org.uk>
Fri, 26 Jun 2009 23:47:18 +0000 (00:47 +0100)
committerIan Jackson <ian@liberator.relativity.greenend.org.uk>
Fri, 26 Jun 2009 23:47:18 +0000 (00:47 +0100)
pctb/pages.c

index a87b021..9d9ca91 100644 (file)
@@ -402,7 +402,7 @@ static void raise_and_get_details(void) {
   check_client_window_all_on_screen();
 
   int shm= XShmQueryExtension(disp);
-    shm=0;
+  debugf("PAGING shm=%d\n",shm);
   if (shm) {
     xassert( shmim= XShmCreateImage(disp, attr.visual, attr.depth, ZPixmap,
                                    0,&shminfo, wwidth,wheight) );