[MPlayer-dev-eng] [PATCH] Bug fix for -geometry option NODAEMON

Bjorn Danielsson mplayer-mail at dax.nu
Sun Jan 30 19:56:45 CET 2005

The manual page says that "%" appended to an x or y position
causes the corresponding value to be interpreted as a percentage
of screen width/height instead of an absolute pixel offset.

The code doesn't agree, it applies this interpretation to both
x and y even if only one of the coordinates has a "%" suffix.
The attached patch makes the code agree with the manual, which
in my opinion is more sensible in this case.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: geometry-percentage-fix.patch
Type: application/octet-stream
Size: 778 bytes
Desc: Bug fix for -geometry option
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20050130/a5b3ea23/attachment.obj>
-------------- next part --------------

Bjorn Danielsson  <mplayer-mail at dax.nu>

More information about the MPlayer-dev-eng mailing list