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

Melchior FRANZ mfranz at aon.at
Mon Feb 22 15:09:33 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://www.x.org/archive/X11R6.8.1/doc/X.7.html#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.
-------------- 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/c3993875/attachment.bin>


More information about the MPlayer-dev-eng mailing list