Window previews in xfwm4

Sonal Santan sonal.santan at
Sun Jan 11 02:25:08 CET 2015


I have upstreamed my changes for window previews to for folks to try out. There is one bug
I am still trying to track down -- occasionally, the preview comes out as
blank for a minimized window. I capture the previews of windows which are
about to be minimized inside unmap_win() hook of the compositor. Is this
the correct location for capturing the previews of windows which are about
to be minimized?

For folks who are curious, the new function, update_win_preview() defined
in compositor.c captures the previews. XImage to GdkPixbuf conversion
happens in the new function, gdk_pixbuf_xlib_get_from_image() defined in a
new file previews.c.

Will submit patches to the list after I have taken care of the bug
mentioned above.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Xfce4-dev mailing list