Hello, On Mon, Jun 25, 2007 at 10:06:03AM +0200, 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.
Actually there should still be an open bug report about something like this in the bugzilla. Some window-managers are really hard to convince that their default window-placement algorithms aren't always right. I'd also like to mention that changing this code would break both -geometry _and_ -xineramascreen, and quite a few window managers still have trouble handling xinerama in a nice way and usually offer few to none options on where to place and how to fullscreen in this situation. Greetings, Reimar Doeffinger