r30822 - in trunk: DOCS/man/en/mplayer.1 libvo/geometry.c
Author: reimar Date: Wed Mar 3 21:57:56 2010 New Revision: 30822 Log: Add support for specifying window position relative to right and bottom screen borders with -geometry. Based on patch by Melchior FRANZ [melchior franz gmail com]. Modified: trunk/DOCS/man/en/mplayer.1 Changes in other areas also in this revision: Modified: trunk/libvo/geometry.c Modified: trunk/DOCS/man/en/mplayer.1 ============================================================================== --- trunk/DOCS/man/en/mplayer.1 Wed Mar 3 21:36:35 2010 (r30821) +++ trunk/DOCS/man/en/mplayer.1 Wed Mar 3 21:57:56 2010 (r30822) @@ -3143,13 +3143,16 @@ Fixes fullscreen switching on OpenBox 1. .PD 1 . .TP -.B \-geometry x[%][:y[%]] or [WxH][+x+y] +.B \-geometry x[%][:y[%]] or [WxH][+-x+-y] Adjust where the output is on the screen initially. The x and y specifications are in pixels measured from the top-left of the screen to the top-left of the image being displayed, however if a percentage sign is given after the argument it turns the value into a percentage of the screen size in that direction. -It also supports the standard X11 \-geometry option format. +It also supports the standard X11 \-geometry option format, in which e.g. ++10-50 means "place 10 pixels from the left border and 50 pixels from the lower +border" and "--20+-10" means "place 20 pixels beyond the right and 10 pixels +beyond the top border". If an external window is specified using the \-wid option, then the x and y coordinates are relative to the top-left corner of the window rather than the screen.
On Wed, 3 Mar 2010 21:57:56 +0100 (CET) reimar <subversion@mplayerhq.hu> wrote:
Author: reimar Date: Wed Mar 3 21:57:56 2010 New Revision: 30822
Log: Add support for specifying window position relative to right and bottom screen borders with -geometry. Based on patch by Melchior FRANZ [melchior franz gmail com].
Modified: trunk/DOCS/man/en/mplayer.1
Changes in other areas also in this revision: Modified: trunk/libvo/geometry.c
Modified: trunk/DOCS/man/en/mplayer.1 ============================================================================== --- trunk/DOCS/man/en/mplayer.1 Wed Mar 3 21:36:35 2010 (r30821) +++ trunk/DOCS/man/en/mplayer.1 Wed Mar 3 21:57:56 2010 (r30822) @@ -3143,13 +3143,16 @@ Fixes fullscreen switching on OpenBox 1. .PD 1 . .TP -.B \-geometry x[%][:y[%]] or [WxH][+x+y] +.B \-geometry x[%][:y[%]] or [WxH][+-x+-y] Adjust where the output is on the screen initially. The x and y specifications are in pixels measured from the top-left of the screen to the top-left of the image being displayed, however if a percentage sign is given after the argument it turns the value into a percentage of the screen size in that direction. -It also supports the standard X11 \-geometry option format. +It also supports the standard X11 \-geometry option format, in which e.g. ++10-50 means "place 10 pixels from the left border and 50 pixels from the lower +border" and "--20+-10" means "place 20 pixels beyond the right and 10 pixels +beyond the top border". If an external window is specified using the \-wid option, then the x and y coordinates are relative to the top-left corner of the window rather than the screen.
i'd rather put these two examples below, under EXAMPLES....
On Wed, Sep 29, 2010 at 04:48:02AM +0200, Paul TT wrote:
On Wed, 3 Mar 2010 21:57:56 +0100 (CET) reimar <subversion@mplayerhq.hu> wrote:
Author: reimar Date: Wed Mar 3 21:57:56 2010 New Revision: 30822
Log: Add support for specifying window position relative to right and bottom screen borders with -geometry. Based on patch by Melchior FRANZ [melchior franz gmail com].
Modified: trunk/DOCS/man/en/mplayer.1
Changes in other areas also in this revision: Modified: trunk/libvo/geometry.c
Modified: trunk/DOCS/man/en/mplayer.1 ============================================================================== --- trunk/DOCS/man/en/mplayer.1 Wed Mar 3 21:36:35 2010 (r30821) +++ trunk/DOCS/man/en/mplayer.1 Wed Mar 3 21:57:56 2010 (r30822) @@ -3143,13 +3143,16 @@ Fixes fullscreen switching on OpenBox 1. .PD 1 . .TP -.B \-geometry x[%][:y[%]] or [WxH][+x+y] +.B \-geometry x[%][:y[%]] or [WxH][+-x+-y] Adjust where the output is on the screen initially. The x and y specifications are in pixels measured from the top-left of the screen to the top-left of the image being displayed, however if a percentage sign is given after the argument it turns the value into a percentage of the screen size in that direction. -It also supports the standard X11 \-geometry option format. +It also supports the standard X11 \-geometry option format, in which e.g. ++10-50 means "place 10 pixels from the left border and 50 pixels from the lower +border" and "--20+-10" means "place 20 pixels beyond the right and 10 pixels +beyond the top border". If an external window is specified using the \-wid option, then the x and y coordinates are relative to the top-left corner of the window rather than the screen.
i'd rather put these two examples below, under EXAMPLES....
Well, it was mean to be a description of the syntax, not so much an example. But I don't really care...
participants (3)
-
Paul TT -
reimar -
Reimar Döffinger