Tue Sep 28 00:12:05 PDT 1999

(Mandrake)

fixed the "restart on wrong desktop if it's the last desktop available" bug.


SVN revision: 431
This commit is contained in:
Mandrake 1999-09-28 05:41:35 +00:00
parent cd862732c8
commit c2582affa7
2 changed files with 8 additions and 1 deletions

View File

@ -2455,3 +2455,10 @@ Mon Sep 27 23:54:54 PDT 1999
fixed the bug that ganymede would flaunt with spawning menus via buttons
(using spawnMenu()) with click to raise and/or click to focus enabled.
-------------------------------------------------------------------------------
Tue Sep 28 00:12:05 PDT 1999
(Mandrake)
fixed the "restart on wrong desktop if it's the last desktop available" bug.

View File

@ -272,7 +272,7 @@ main(int argc, char **argv)
/* let's make sure we set this up and go to our desk anyways */
ICCCM_GetMainEInfo();
GotoDesktop(desks.current);
if (desks.current < (ENLIGHTENMENT_CONF_NUM_DESKTOPS - 1))
if (desks.current < (mode.numdesktops - 1))
{
char ps = 0;