[MPlayer-dev-eng] [PATCH] -geometry option: support negative coordinates in 0x0+0+0 and +0+0 notation

Melchior FRANZ melchior.franz at gmail.com
Mon Feb 22 15:11:17 CET 2010


Hi,

the mplayer manpage says: "It also supports the standard X11 -geometry option
format" But that's not the whole truth In fact it only supports a subset
The standard X11 option also accepts negative offsets:

  http://wwwxorg/archive/X11R681/doc/X7html#sect6

Note that in -XOFF XOFF may be negative, so the following is also allowed (and
useful!):  --100--100

The most important use cases, however are -0+0 or -0-0 (I'm aware that the
percent notation can do that as well)


The attached patch implements negative offsets Please review and consider
for inclusion

m


PS: Re-sending with subscribed mail address. I apologize if it comes twice!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: geometry.diff
Type: text/x-patch
Size: 1868 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20100222/91a6dfac/attachment.bin>


More information about the MPlayer-dev-eng mailing list