Window previews in xfwm4

Sonal Santan sonal.santan at gmail.com
Thu Jan 8 07:25:02 CET 2015


Hello,

I have an early version of window previews working. With ALT-TAB, tabwin
shows snapshot of all windows including ones which are minimized. For the
latter it uses cached snapshot which was saved just before the window was
minimized. I am working on flushing out the bugs and hope to submit my
patches to the mailing list for review soon.

-Sonal

On Fri, Jan 2, 2015 at 2:16 PM, Ricardo Biehl <rbpoficial at gmail.com> wrote:

> Hello. I think that many features for modernization Xfce desktop could be
> add, but just like Olivier said the Xfce should keep by default without
> extras features. The extras features could be add by user, but not come to
> default.
> B
> ​ig hug, Ricardo Biehl.​
>
> 2015-01-01 19:44 GMT-02:00 Olivier Fourdan <fourdan at gmail.com>:
>
> Hi
>>
>> Yeap that sounds reasonable. Main point is compositing has to remain
>> optional, both at build time and at run time.
>>
>> Looking forward to reviewing your patches :)
>>
>> Cheers,
>> Olivier
>>
>> On 1 January 2015 at 14:56, Sonal Santan <sonal.santan at gmail.com> wrote:
>> > Hello,
>> >
>> > 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
>> > requested feature:
>> >
>> > [1] Add an XImage or GTKImage to represent Window Preview for every
>> _CWindow
>> > [2] Lazy update the Image: Cache the image for windows which are being
>> > minimized; For unminimized windows update the Image on Window Preview
>> > Request
>> > [3] Enhance tabwin to request the compositor for the Window Preview if
>> > compositor is enabled
>> > [4] 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?
>> >
>> > -Sonal
>> >
>> > _______________________________________________
>> > Xfce4-dev mailing list
>> > Xfce4-dev at xfce.org
>> > https://mail.xfce.org/mailman/listinfo/xfce4-dev
>> _______________________________________________
>> Xfce4-dev mailing list
>> Xfce4-dev at xfce.org
>> https://mail.xfce.org/mailman/listinfo/xfce4-dev
>>
>
>
>
> --
>
> *rbp -- Ricardo Biehl Pasquali*
>
> *OFICIAL*
>
> _______________________________________________
> Xfce4-dev mailing list
> Xfce4-dev at xfce.org
> https://mail.xfce.org/mailman/listinfo/xfce4-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.xfce.org/pipermail/xfce4-dev/attachments/20150107/ab4fb569/attachment.html>


More information about the Xfce4-dev mailing list