[MPlayer-dev-eng] [PATCH] x11 vo drivers override user settings for window placement

Attila Kinali attila at kinali.ch
Sun Jun 24 21:16:17 CEST 2007


On Sun, 24 Jun 2007 12:03:24 -0700
"Mark Tiefenbruck" <mark at fluxbox.org> wrote:

> First of all, since you're setting the size hint, the only reason to
> move the window at all is in case there isn't a window manager

No, the reason for this is to _force_ a certain position of the
window, overriding the window manager. I proposed this way of
doing it based on some "standard" i've read at that time about
forcing the window position (it should be the ICCCM, but i'm not sure)

> running. While that probably happens more often for a video player
> than most applications, I'd still wager it's pretty rare. However, you
> don't have to give up on that case to resolve this. You can just move
> the window before mapping it. 

That wont work. Most window manager move the window _after_ mapping,
thus overriding MPlayers prefered position.

What you are looking for is to use -geometry.

			Attila Kinali

-- 
Linux ist... wenn man einfache Dinge auch mit einer kryptischen
post-fix Sprache loesen kann
                        -- Daniel Hottinger



More information about the MPlayer-dev-eng mailing list