> The logic is that width and height should work without valid posx, and > poxy. (saveGeometry controls that).I wondered if there is a case where the width is saved but not the position, couldn't the pos!=-1 be removed?
At least this was the original logic. Saving windows width/height is safe, but not exactly windows position. For example, several instantces of lyx might be launched overlapped. I guess the logic should be: if (width!=-1 and height!=-1) { if (posx != -1 and posy !=-1) ... } Bo