} else {
fprintf(stderr,
"Cool, I found the shared memory extension!\n");
- fprintf(stderr,
- "Disabled SHM, because it is currently broken!\n");
- xd->shared = 0;
+ xd->shared = 1;
}
}
}
}
view->x->needs_swap = !(*(unsigned char*) (&test));
+ view->x->x_big_endian = (ImageByteOrder(view->x->dpy) == MSBFirst);
GetPixmaps(view->x);
view->pan_x = w / 2; view->pan_y = h / 2;
DoResizeView(view, w, h);
- GetViewTiles(view);
-
return (view);
}
}
}
}
+
+ GetViewTiles(view);
+
}