Red Hat Bugzilla – Bug 50043
xwd's -id option causes the -frame option to be ignored
Last modified: 2007-04-18 12:35:10 EDT
From Bugzilla Helper:
User-Agent: Mozilla/4.77 [en] (X11; U; Linux 2.4.2-2.10pwf i686)
Description of problem:
Steps to Reproduce:
1.Start an X app
2."xwd -frame > one.xwd" and click on the app
3.Get the app's window id (I use the window info from fvwm2's icon manager)
4."xwd -frame -id 0xXXXXXXXX > two.xwd" and there's no need to click
Actual Results: one.xwd has the window manager decoration in the image.
two.xwd doesn't have it.
No stderr from xwd.
Expected Results: I would expect one.xwd and two.xwd to be the same.
Window manager used was fvwm2: fvwm2-2.2.4-9
xwd used: XFree86-4.0.3-5
v4 X server used: vendor release number: 4003
A perusal of the xwd source shows frame_only is only tested for if
a user selects a window by hand. I have made a patch which attempts to
fix this. I'm adding it to my next build, however you might want to
try it yourself so I am adding it here also.
Created attachment 25353 [details]
Fix for -frame when used with -id