long xrgb= XGetPixel(sn, x, y);
int i;
rgb= 0;
- for (i=0; i<3; i++, rgb <<= 8) {
+ for (i=0; i<3; i++) {
+ rgb <<= 8;
unsigned long sample=
((xrgb << shiftmasks[i].lshift)
>> shiftmasks[i].rshift) & SAMPLEMASK;
/* find the window and check it's on the right kind of screen */
raise_and_get_details();
- snapshot(¤t);
+ wait_for_stability(¤t,0,0);
test= convert_page(current);
find_structure(test);
free(test);
raise_and_get_details();
sync_after_input();
- snapshot(¤t);
+ wait_for_stability(¤t,0,0);
page_images[0]= convert_page(current);
npages= 1;
}