Attila Kinali wrote:
The code you are questioning here has been written at an very early stage of the MPlayer development and had got its share of testing and review. And so far, i don't remember anyone complain about the fact that the MPlayer window comes up centered (actualy there were a lot of complaints when it didn't happen). So, you being the first one who dislikes this behavior in 5 or 6 years, i guess the code cannot be that wrong.
I'm not 100% positive that this is the same behaviour you're talking about, but: Once upon a time, I had my window manager set to remember MPlayer's window position, i.e. to place the window in a specific place on screen. Then someone came along with a complaint about the window no location no longer being correct after changing videos while in fullscreen; Reimar committed a fix for that behaviour as r18718, and now the window appears in the center of the screen no matter what I do (short of extensive experimentation with the -geometry option which seems far more than should be reasonable); the window manager's Remember setting has no effect whatsoever. I mentioned this on -svnlog at the time, and there was a patch posted on 06-20-2006 which AFAIR did not fix the problem for me. Since I had no arguments beyond the ones I had already used, and Reimar, being the only developer involved in the discussion, did not seem remotely persuaded by those - and indeed, given that the patch he posted did not fix the problem I had described, did not seem to entirely understand the problem itself - I more or less dropped the subject. However, the fact remains that I am *not* happy about being completely unable - short, again, of more experimentation to find correct values for -geometry than seems reasonable (given that the WM can handle this automagically) - to have MPlayer appear at any location *other* than the center of the screen. -- The Wanderer Warning: Simply because I argue an issue does not mean I agree with any side of it. Secrecy is the beginning of tyranny.