From: cristy Date: Fri, 11 Jan 2013 00:09:58 +0000 (+0000) Subject: (no commit message) X-Git-Tag: 7.0.1-0~4445 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=64057b049640be82cf952fa3e01282917270850e;p=imagemagick --- diff --git a/MagickCore/version.h b/MagickCore/version.h index bfc731c9c..bc17602ca 100644 --- a/MagickCore/version.h +++ b/MagickCore/version.h @@ -34,7 +34,7 @@ extern "C" { #define MagickLibAddendum "-0" #define MagickLibInterface 8 #define MagickLibMinInterface 8 -#define MagickReleaseDate "2013-01-08" +#define MagickReleaseDate "2013-01-10" #define MagickChangeDate "20121005" #define MagickAuthoritativeURL "http://www.imagemagick.org" #define MagickFeatures "DistributedPixelCache HDRI OpenMP" diff --git a/MagickCore/xwindow.c b/MagickCore/xwindow.c index 507edad69..3069d50ac 100644 --- a/MagickCore/xwindow.c +++ b/MagickCore/xwindow.c @@ -4155,10 +4155,10 @@ static Image *XGetWindowImage(Display *display,const Window window, (window_info[i].visual == window_info[id].visual) && (window_info[i].colormap == window_info[id].colormap)) { - if ((window_info[id].bounds.x1 <= window_info[i].bounds.x1) || - (window_info[id].bounds.x1 >= window_info[i].bounds.x2) || - (window_info[id].bounds.y1 <= window_info[i].bounds.y1) || - (window_info[id].bounds.y1 >= window_info[i].bounds.y2)) + if ((window_info[id].bounds.x1 < window_info[i].bounds.x1) || + (window_info[id].bounds.x2 > window_info[i].bounds.x2) || + (window_info[id].bounds.y1 < window_info[i].bounds.y1) || + (window_info[id].bounds.y2 > window_info[i].bounds.y2)) { /* Eliminate windows not circumscribed by their parent. @@ -4234,22 +4234,12 @@ static Image *XGetWindowImage(Display *display,const Window window, if ((window_info[id].visual == window_info[j].visual) && (window_info[id].colormap == window_info[j].colormap)) { - if ((window_info[id].bounds.x1 <= window_info[j].bounds.x1) || - (window_info[id].bounds.x1 >= window_info[j].bounds.x2) || - (window_info[id].bounds.y1 <= window_info[j].bounds.y1) || - (window_info[id].bounds.y1 >= window_info[j].bounds.y2)) + if ((window_info[id].bounds.x1 >= window_info[j].bounds.x1) && + (window_info[id].bounds.x2 <= window_info[j].bounds.x2) && + (window_info[id].bounds.y1 >= window_info[j].bounds.y1) && + (window_info[id].bounds.y2 <= window_info[j].bounds.y2)) import=MagickFalse; } - else - if ((window_info[id].visual != window_info[j].visual) || - (window_info[id].colormap != window_info[j].colormap)) - { - if ((window_info[id].bounds.x2 > window_info[j].bounds.x1) && - (window_info[id].bounds.x1 < window_info[j].bounds.x2) && - (window_info[id].bounds.y2 > window_info[j].bounds.y1) && - (window_info[id].bounds.y1 < window_info[j].bounds.y2)) - import=MagickTrue; - } if (import == MagickFalse) continue; /* diff --git a/MagickWand/import.c b/MagickWand/import.c index 0d4cea722..900e18e47 100644 --- a/MagickWand/import.c +++ b/MagickWand/import.c @@ -376,7 +376,7 @@ WandExport MagickBooleanType ImportImageCommand(ImageInfo *image_info, image_info->density=XGetResourceInstance(resource_database,GetClientName(), "density",(char *) NULL); resource_value=XGetResourceInstance(resource_database,GetClientName(), - "descend","True"); + "descend","False"); ximage_info.descend=IsStringTrue(resource_value); resource_value=XGetResourceInstance(resource_database,GetClientName(), "frame","False"); diff --git a/configure.ac b/configure.ac index f556c458e..057fa029d 100755 --- a/configure.ac +++ b/configure.ac @@ -851,7 +851,7 @@ AC_HEADER_ASSERT AC_HEADER_DIRENT # Check additional headers -AC_CHECK_HEADERS(arm/limits.h complex.h errno.h fcntl.h limits.h linux/unistd.h locale.h machine/param.h mach-o/dyld.h netinet/in.h OS.h process.h sun_prefetch.h stdarg.h sys/ipc.h sys/mman.h sys/resource.h sys/socket.h sys/syslimits.h sys/time.h sys/timeb.h sys/times.h sys/wait.h wchar.h xlocale.h) +AC_CHECK_HEADERS(arm/limits.h complex.h errno.h fcntl.h limits.h linux/unistd.h locale.h machine/param.h mach-o/dyld.h netinet/in.h netdb.h OS.h process.h sun_prefetch.h stdarg.h sys/ipc.h sys/mman.h sys/resource.h sys/socket.h sys/syslimits.h sys/time.h sys/timeb.h sys/times.h sys/wait.h wchar.h xlocale.h) ######## #