However, how are toolbars read in initially (when no session info is yet available)? Are all toolbar put on single lines? (even if so, the patch is an improvement of course; just asking).
When there is no session file, toolbars in session become available when they are initialized. for (; cit != end; ++cit) initFlags(*cit); They have posx=posy=0 as default. In this case, they become overlapped toolbars and toolbar breaks are added. // if two toolbars at the same location, assume uninitialized and add toolbar break + (tb->get<1>().posx == last_posx && tb->get<1>().posy == last_posy) ||
I cannot test it now, but I have one question:
Look at http://www.lyx.org/~bpeng, I sometimes put have windows/snapshot over there, especially after my patches. Bo