Am Samstag, 25. März 2006 20:11 schrieb Bo Peng: > With saved location, > 1. start lyx, lyx loads location/size and place/resize itself as expected. > 2. do nothing, close lyx using Alt-F4, saved location becomes 0, 0 > > Do you know what just happened? Why pos() returns (0, 0) the second > time? Note that if I click the window once, pos() returns correct > value.
Is that on Linux? If yes, then it could be that the heuristic that interacts with the window manager does not work. > If you want to test it out, I can send you the patch. Sorry, I have no time right now. Georg