Hello, I found the problem. At least with matchbox-window-manager (which I was using both on the openmoko and here), the _NET_NUMBER_OF_DESKTOPS property returns 0 values. lxlauncher does not check the number of items returned, and therefore the current desktop number ends up having an undefined value.
With this patch, it works: --- working-area.c 2008-06-15 16:09:45.000000000 +0200 +++ working-area.c 2009-01-30 13:49:30.000000000 +0100 @@ -94,7 +94,10 @@ if(!data) return FALSE; - current = *(guint32 *)data; + if (len == 0) + current = 0; + else + current = *(guint32 *)data; XFree(data); /* find the _NET_WORKAREA atom */ I gave it a go under valgrind, and it reported no further problems. Ciao, Enrico -- GPG key: 1024D/797EBFAB 2000-12-05 Enrico Zini <enr...@debian.org>
signature.asc
Description: Digital signature