X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/micropolis/blobdiff_plain/99c730ea57a9022357cce87208b5a02c6612c286..2b8964762fece215b12e606abfb75c325f93e27e:/src/sim/w_x.c diff --git a/src/sim/w_x.c b/src/sim/w_x.c index 76e9ff6..4f4c10e 100644 --- a/src/sim/w_x.c +++ b/src/sim/w_x.c @@ -490,6 +490,7 @@ SimView * InitNewView(SimView *view, char *title, int class, int w, int h) { int type, i; + int test = 1; int d = 8; unsigned long valuemask = 0; char *t; @@ -584,7 +585,9 @@ InitNewView(SimView *view, char *title, int class, int w, int h) view->type = X_Mem_View; } - view->x->big_endian = (ImageByteOrder(view->x->dpy) == MSBFirst); + /* XXX: Find cases where transaltion is needed */ + view->x->needs_swap = 0; + GetPixmaps(view->x); view->pixels = view->x->pixels;