Hi tinypoodle
Not being Rich but just assuming you were replying to my post...
Lack of sleep, copied/pasted the wrong name, corrected.
That's because imlib2_grab can only save what is painted on the screen, but since it uses the windows coordinates
and dimensions, it fills in what it can't read in gray. In fact, I once read through some of the documentaion for
imlib2_grab and I seem to recall it was mention there too.