From: Cristy Date: Sat, 11 May 2019 16:38:52 +0000 (-0400) Subject: Fedora 30 has a broken shape extention X-Git-Tag: 7.0.8-45~10 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7197d81f51bcd642f60024a4816ae64f05bd9157;p=imagemagick Fedora 30 has a broken shape extention --- diff --git a/MagickCore/xwindow.c b/MagickCore/xwindow.c index 52d8839a5..3cf4b3b6f 100644 --- a/MagickCore/xwindow.c +++ b/MagickCore/xwindow.c @@ -5896,7 +5896,8 @@ static void XMakeImageLSBFirst(const XResourceInfo *resource_info, (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); canvas=image; if ((window->immutable == MagickFalse) && - (image->storage_class == DirectClass) && (image->alpha_trait != UndefinedPixelTrait)) + (image->storage_class == DirectClass) && + (image->alpha_trait != UndefinedPixelTrait)) { char size[MagickPathExtent]; @@ -8528,7 +8529,8 @@ MagickPrivate void XMakeWindow(Display *display,Window parent,char **argv, window_info->shape=MagickFalse; #endif } - if (window_info->shared_memory) + window_info->shape=MagickFalse; /* Fedora 30 has a broken shape extention */ + if (window_info->shared_memory != MagickFalse) { #if defined(MAGICKCORE_HAVE_SHARED_MEMORY) /*