I am writing a window switcher application using GTK, Cairo, and Xlib that shows previews of windows. Assuming that I don't want to save the window's image for later use, what are the advantages of using XCompositeNameWindowPixmap () compared to simply using the X11 Window directly? Regards adlo