Window previews in xfwm4

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


Hello,

I have upstreamed my changes for window previews to
https://github.com/sonals/xfwm4.git 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.

-Sonal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.xfce.org/pipermail/xfce4-dev/attachments/20150110/d7436d9f/attachment.html>


More information about the Xfce4-dev mailing list