KWindowSystem::windowGeometries() ?

Lubos Lunak l.lunak at
Thu Oct 8 13:30:36 BST 2009

On Wednesday 07 of October 2009, Aaron J. Seigo wrote:
> On October 7, 2009, Lubos Lunak wrote:
> >  Hmm, but that is what the reviewboard function calls. And I don't see
> > good use cases for a library function that is just a loop over this. It
> > appears to be rather unusual to me to want just geometries of a random
> > group of windows.
> it is unusual, which is why we figured we'd ask first :)
> places that do this currently: the pager,

 It is generally more efficient to create KWindowInfo() once to read all the 
data that will be needed instead of reading it whenever you need. KWindowInfo 
ctor is not a simple accessor, so, while I don't know the pager code, it is 
possible that the code is pretty suboptimal.

Lubos Lunak
KDE developer
SUSE LINUX, s.r.o.   e-mail: l.lunak at , l.lunak at
Lihovarska 1060/12   tel: +420 284 084 672
190 00 Prague 9      fax: +420 284 028 951
Czech Republic

More information about the kde-core-devel mailing list