Sorry, I don't understand. Could you elaborate?

Window geometry is supposed to be used once so in src/lyx_main.C

        val = session().sessionInfo().load("WindowHeight");

is called with a second default parameter release=true. Then,
"WindowHeight" is removed from session and you are supposed to get
geometry from the frontend. Now, if you want to reuse this
information. Change calls to the load function in src/lyx_main.C to

        val = session().sessionInfo().load("WindowHeight", false);

and you can call this function again to get the session infomation for
your toolbar stuff.

I could have been a bit more generous about memory use. :-)

Bo

Reply via email to