Re: XCompositeNameWindowPixmap vs using window directly

2016-02-10 Thread Aaron Plattner
On 02/09/2016 12:48 PM, adlo wrote: > 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 simp

XCompositeNameWindowPixmap vs using window directly

2016-02-09 Thread adlo
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 a