reimar
e22ebfddb1
Add support for -geometry x syntax since the documentation claims
...
it is supported.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31318 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-06-05 06:28:58 +00:00
reimar
988b04eb2d
Extend geometry parsing to reject all invalid strings.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31302 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-06-01 20:12:58 +00:00
reimar
baae4d1add
Save the new width and height earlier so that e.g. -geometry 30x30-50-50
...
gives the correct behaviour - before placement would depend on the
original movie size instead of the one scaled according to -geometry.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30823 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-03-03 21:01:57 +00:00
reimar
90188f0e5f
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].
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30822 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-03-03 20:57:56 +00:00
reimar
0833aaa64d
Simplify sscanf format strings and get rid of useless percent variable.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30821 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-03-03 20:36:35 +00:00
reimar
55b3c6f090
Avoid very deep indentation level and RESET_GEOMETRY macro in -geometry
...
parsing.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30820 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-03-03 20:24:46 +00:00
reimar
75bfddd3a2
Remove pointless initializers and also set geometry_*_changed to 0 when
...
-geometry did not adjust some values (instead of only ever setting them to 1
and never reset them).
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30492 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-02 21:18:21 +00:00
reimar
eeb99c1c14
Use the RESET_GEOMETRY macro in one more place instead of duplicating its code.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29392 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-06-26 13:41:01 +00:00
reimar
8e2054934a
100l, RESET_GEOMETRY must reset values to INT_MIN, not -1, -1 is a
...
valid value for e.g. the offsets.
Patch by Benson Mitchell [benson mitchell gmail com]
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29391 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-06-26 13:34:40 +00:00
diego
6e9cbdc104
whitespace cosmetics: Remove all trailing whitespace.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29305 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-05-13 02:58:57 +00:00
reimar
6b57f53f6f
Get rid of nonsensical limits on -geometry x, y,w and h values, they only
...
cause confusion on multi-monitor setups.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29112 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-31 16:16:12 +00:00
diego
3311a2ae9c
Replace casual GPL notices by proper license headers.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27541 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-07 14:09:51 +00:00
rathann
e3b183dc3f
- fix gcc warnings, strlcat/strlcpy prototypes
...
- fix bad sscanf usage in geometry.c
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15059 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-04-06 11:57:10 +00:00
al
d568eaa271
Fix the behaviour of -geometry according to the documentation.
...
Patch by Bjorn Danielsson <mplayer-mail ta dax tod nu>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14679 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-02-09 17:58:41 +00:00
diego
5b0d96c6b4
Handle "xxx.h" vs "../xxx.h" include paths in a consistent way.
...
Based on a patch by Sebastian Hegler <s_hegler at gmx dot de>.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13788 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-10-28 01:15:53 +00:00
attila
6332d6bbe9
dont mess with the window position in xinerama when -geometry changes it.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11997 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-02-24 21:09:21 +00:00
attila
092de8005d
fix aspect hack
...
now geometry sets geometry_wh_changed when either width or height is changed.
aspect is still preserved in fullscreen
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11126 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-10-15 15:17:09 +00:00
alex
1450231f23
remove exit_player and exit references
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10735 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-08-31 18:33:02 +00:00
attila
502d604533
adding geometry support for xvidix
...
fixing some 10l in geometry.c
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9948 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-04-20 15:09:19 +00:00
attila
6514fbb076
clean up of -geometry code.
...
disabled -geometry for all but -vo xv (will be fixed later)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9518 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-03-02 21:09:15 +00:00
arpi
ca0263659f
compiler warning fixes patch by Dominik Mierzejewski <dominik@rangers.eu.org>
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9218 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-02-02 02:42:59 +00:00
attila
984fc3cbd8
cosmetics
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8769 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-04 13:12:13 +00:00
attila
2758feb917
fix xv window position problem
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8768 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-04 13:11:18 +00:00
mark
0842caf6f0
Added support for X style -geometry options (adapted from Henk's patch)
...
-- Mark
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8746 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-03 20:46:44 +00:00
michael
01c201dbe8
warning patch by (Dominik Mierzejewski <dominik at rangers dot eu dot org>)
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8255 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-11-23 10:58:14 +00:00
arpi
f859d013a8
*HUGE* set of compiler warning fixes, unused variables removal
...
based on patch by Dominik Mierzejewski <dominik@rangers.eu.org>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8124 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-11-06 23:54:29 +00:00
mark
a2dfc7a766
Added the -geometry option (supports fbdev and tdfxfb drivers)
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7867 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-23 16:52:54 +00:00