Hi, if I create a screenshot with xwd -name 'emacs@extaxpi.lan' -out image -frame the screenshot doesn't contain the window manager frame. If I specify the window by clicking on it (without the -name option), I get the screenshot including the window manager frame as expected: xwd -out image -frame fvwm -version [FVWM][main]: Fvwm Version 2.2.4 compiled on Jan 19 2000 at 00:53:30 # no gnome, kde or the like
Hi, sorry I forgot to mention this in the bug report: X version: xf86SumProc pSum=0x8239098 what=CLOSE XFree86 Version 3.3.6 / X Window System (protocol Version 11, revision 0, vendor release 6300) Release Date: January 8 2000 Operating System: Linux 2.2.14-va.4.4-i586 i686 [ELF] Configured drivers: Mach64: accelerated server for ATI Mach64 graphics adaptors (Patchlevel 1) (using VT number 7) window id: Using the window ID instead of the titel doesn't work, either: xwd -id 0x3400002 -out image-full -frame [same results as with title] Ciao, Tilman
This is operating as documented - in the xwd man page, it states:
-frame This option indicates that the window manager frame should be
included when manually selecting a window.
But using -name is selecting a window automatically, not waiting for the user
to manually click on it.
With the current implementation, you would instead need to do:
"xwininfo -name ... -children | grep Parent"
and use the id returned by that with the -id argument to xwd:
"xwd -id ... -out image"
Making -frame work with the automatic selection arguments (-id & -name)
might be a nice enhancement, but it's not a bug that it doesn't yet.