Window previews in xfwm4
sonal.santan at gmail.com
Thu Jan 1 14:56:30 CET 2015
I have been exploring how to add support for Window previews in xfwm4. I am
assuming that this can be built with the help of XRender support in xfwm4.
My aim is to enhance the tabwin implementation to show window previews if
compositor is enabled in xfwm4 or fall back to the current scheme of
showing application icons. The compositor has window_pixmap for every
application window that IMHO can be used for generating previews but it
wouldn't work for minimized windows.
Here is how I am thinking of enhancing xfwm4 to add support for this often
 Add an XImage or GTKImage to represent Window Preview for every _CWindow
 Lazy update the Image: Cache the image for windows which are being
minimized; For unminimized windows update the Image on Window Preview
 Enhance tabwin to request the compositor for the Window Preview if
compositor is enabled
 Use the obtained Image for drawing the GtkButton
Does this sound inline with xfwm4 broader design philosophies? Given I am
not an expert in XWindow programming, does this look technically doable?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Xfce4-dev