X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~yarrgweb/git?a=blobdiff_plain;f=pctb%2Fpages.c;h=360e71858fd5699ac0a8f933e67c4f4fad818e08;hb=75979fe69d99518d9f79d45fb52eb76e05f58053;hp=361ea0ea9926b4cf576d1cdaedfafa5e00370477;hpb=0826bbc65e59d47c270f05af419f24fdfc3c349c;p=ypp-sc-tools.web-live.git diff --git a/pctb/pages.c b/pctb/pages.c index 361ea0e..360e718 100644 --- a/pctb/pages.c +++ b/pctb/pages.c @@ -249,7 +249,7 @@ void take_screenshots(void) { /* 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); @@ -286,7 +286,7 @@ void take_one_screenshot(void) { raise_and_get_details(); sync_after_input(); - snapshot(¤t); + wait_for_stability(¤t,0,0); page_images[0]= convert_page(current); npages= 1; }