Patch for kdebase/kstart

Waldo Bastian bastian at kde.org
Thu Nov 7 16:34:36 GMT 2002


>-----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 :)

That depends on whether -1 should work as well. (Isn't that "all desktops" ?)

Cheers,
Waldo





More information about the kde-core-devel mailing list