--- grabber-x11.cc.orig Fri Jun 11 06:34:19 1999 +++ grabber-x11.cc Sat Oct 30 17:41:17 1999 @@ -46,6 +46,11 @@ #include #include #include + +#ifdef USE_SHM +#include +#endif + #include /*** #include "sized_types.h" ***/ @@ -194,12 +199,9 @@ X11Device::X11Device(const char* nickname): InputDevice(nickname), name_(nickname) { - if (free) - attributes_ = "\ + attributes_ = "\ size {large normal small cif} \ format {411}" ; - else - attributes_ = "disabled"; } extern "C" { @@ -454,7 +456,9 @@ uint8 *vp= up + (framesize_ >> 2) ; uint16 *data=(uint16 *)ximage_->image->data, p0, p1, p2, p3; +#if 0 printf("R: %d, G: %d, B: %d;\n", ximage_->image->red_mask, ximage_->image->green_mask, ximage_->image->blue_mask); +#endif for (y=0; y