I am trying to make a preview of a theme and what I do is open a pic window with:
window -hpB +f @prev -1 -1 465 390
and at the end I try to set the size of the window to the size of the displayed theme:
window -a @prev -1 -1 465 %y
and then I do a drawsave.
Now the drawsave does save the window to a file, but what it does is it saves the file with the initial size of the window (390) which doens´t really look good