8150954: Taking screenshots on x11 composite desktop produce wrong result

The AWT Robot X11 code that takes screenshots uses the default root window, which may not contain the final composited desktop.

Reviewed-by: alexsch, ssadetsky, prr, dbuck
3 files changed