Patch for kdebase/kstart
Lubos Lunak
l.lunak at suse.cz
Thu Nov 7 16:33:14 GMT 2002
On Thursday 07 November 2002 17:25, David Faure wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On Thursday 07 November 2002 16:52, Antonio Larrosa Jiménez wrote:
> > - if (desktop != 0)
> > + if (desktop != 0 && desktop <= kwinmodule->numberOfDesktops() )
>
> Should be
> if (desktop > 0 && desktop <= kwinmodule->numberOfDesktops() )
> then, since desktop is an int :)
But NetWinInfo::onAllDesktops is -1, so then there should be extra
|| desktop == NetWinInfo::onAllDesktops .
--
Lubos Lunak
KDE developer
---------------------------------------------------------------------
SuSE CR, s.r.o. e-mail: l.lunak at suse.cz , l.lunak at kde.org
Drahobejlova 27 tel: +420 2 9654 2373
190 00 Praha 9 fax: +420 2 9654 2374
Czech Republic http://www.suse.cz/
More information about the kde-core-devel
mailing list