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. -- -Alan Coopersmith- alan.coopersm...@oracle.com Oracle Solaris Engineering - https://blogs.oracle.com/solaris