chiark / gitweb /
Show begin of XShmGetImage
[ypp-sc-tools.db-test.git] / pctb / pages.c
index a87b0214753316fe293be0e52712a4a14cf0a9a9..3effde51ce9e7f1bcad338c2f4584b9a4dc73ac1 100644 (file)
@@ -243,6 +243,7 @@ static void snapshot(Snapshot **output) {
 
   double begin= timestamp();
   if (shmim) {
+    rtimestamp(&begin, "XShmGetImage before");
     xassert( XShmGetImage(disp,id,shmim, 0,0, AllPlanes) );
     rtimestamp(&begin, "XShmGetImage");
 
@@ -402,7 +403,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) );