control: tags -1 + moreinfo

Hi

Could you test the following patch ?

Description: Disable descend path in screenshot

If a compositing manager is running the manually pieced together screenshot
taken by using this path might not actually match what's being displayed on
screen.

---
The information above should follow the Patch Tagging Guidelines, please
checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
are templates for supplementary fields that you might want to add:

Origin: <vendor|upstream|other>, <url of original patch>
Bug: <url in upstream bugtracker>
Bug-Debian: http://bugs.debian.org/<bugnumber>
Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
Forwarded: <no|not-needed|url proving that it has been forwarded>
Reviewed-By: <name and email of someone who approved the patch>
Last-Update: <YYYY-MM-DD>

Index: imagemagick-6.8.9.9/magick/xwindow.c
===================================================================
--- imagemagick-6.8.9.9.orig/magick/xwindow.c
+++ imagemagick-6.8.9.9/magick/xwindow.c
@@ -4992,8 +4992,7 @@ MagickExport Image *XImportImage(const I
     Get image by window id.
   */
   (void) XGrabServer(display);
-  image=XGetWindowImage(display,target,ximage_info->borders,
-    ximage_info->descend ? 1U : 0U);
+  image=XGetWindowImage(display,target,ximage_info->borders, 0U);
   (void) XUngrabServer(display);
   if (image == (Image *) NULL)
     ThrowXWindowException(XServerError,"UnableToReadXWindowImage",

Reply via email to