On Fri, 27 Mar 2009 17:35:20 +0100, Enrico wrote:
I set geany usually on the top left position. May it be a problem with the coordinates if the position is not exact (0,0), but maybe negative values?
This was a great hint. I'm not sure whether this solves your problem but after testing a bit, I noticed that getting negative window coordinates isn't anything bad, it just means it's above or left to the upper left corner (it's completely obvious once noticed). The problem was more or less that we need to have the window realised (read: shown) before we realiably can set the position on screen (at least on Windows). So I changed the code a bit and it seems to work now, at least I think so. Any feedback is welcome.
Andreas, did you test it?
Regards, Enrico