[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kwin
Subject:    Re: Taskbar thumbnails effect
From:       Rivo Laks <rivolaks () hot ! ee>
Date:       2007-03-28 20:37:59
Message-ID: 200703282337.59924.rivolaks () hot ! ee
[Download RAW message or body]

Ühel kenal päeval (kolmapäev 28 märts 2007) kirjutas Lubos Lunak:
> On st 28. března 2007, Rivo Laks wrote:
> > Ühel kenal päeval (kolmapäev 28 märts 2007) kirjutas Lubos Lunak:
> > >  Ok, let me say that with code. The attached patch is for
> > > kdelibs/kdeui. The creation of WinInfo/NETWinInfo in
> > > manage.cpp/unmanaged.cpp should get WM2WindowThumbnails added to the
> > > list of tracked properties, then windowThumbnail(Count) should give
> > > info from a window. The taskbar should use setWindowThumbnails() to set
> > > info on the thumbnail window.
> >
> > I was thinking extensibility here. For now just opacity might be enough,
> > but maybe you'll want to add brightness in the future? Or saturation? Or
> > something else that we can't even think about right now? If you just add
> > it to your  NETWindowThumbnail  class, then it won't be backwards
> > compatible AFAICS.
>
>  Binary compatibility of the NETWindowThumbnail class can be kept using
> some of the usual tricks. The format of the property is what I meant with
> internal details - there are ways too (new property when it's extended,
> some extensible format, whatever). However, realistically, what would be
> missing now, besides possibly saturation (and I'm not sure I see the use
> even for that)?

Other than the already mentioned opacity, I'm not sure there is anything that 
would be absolutely necessary for now. And if you say it's extensible, well, 
I guess we can go with just opacity at first.
So I'll just try to get it working using your patch in the coming days :-)

Rivo
_______________________________________________
Kwin mailing list
Kwin@kde.org
https://mail.kde.org/mailman/listinfo/kwin

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic