[MPlayer-dev-eng] [PATCH] Keep window aspect ratio when resizing

Arnaud Boulan boulan at iie.cnam.fr
Tue Dec 17 21:53:08 CET 2002


On Tuesday 17 December 2002 20:59, Moritz Bunkus wrote:
> Hi.
>
> This one doesn't compile:

Ooops! 
Here is a new one; should be ok ;)

I changed the option name to -lockaspect / -nolockaspect, as suggested
by someone in the list.

> Perhaps you could also take a shot at the over vos? At least at xmga,
> sdl...

I only tested x11 and xv, I'll have a look at the other vos...

> Some other folks more knowledable regarding window managers should
> perhaps say something about the hints or how one could 'force' the
> window to a specific size if the WM in question does not support/react
> to the size hints.

The most important wm to fix is IMHO kwin... I quickly fixed it up in order
to handle aspect ratio hints, but I don't know the internals of kwin enough
to make it work well.
I don't know which other wm do not recognize aspect hints.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: lock_aspect.diff
Type: text/x-diff
Size: 5509 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20021217/70a0f69a/attachment.diff>


More information about the MPlayer-dev-eng mailing list