Jitterbug no more.
[fvwm.git] / doc / commands / ResizeMove.xml
blob34626e43b7af9212deb1980b581adb5126625ce8
1 <?xml version="1.0" encoding="UTF-8" ?>
2 <!DOCTYPE part PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
3   "../docbook-xml/docbookx.dtd"
5 <!ENTITY % myents SYSTEM "../fvwm.ent" >
6 %myents;
7 ]>
9 <!-- $Id: ResizeMove.xml,v 1.4 2009/06/24 21:38:30 tadam Exp $ -->
11 <section id='ResizeMove'>
12 <title>ResizeMove</title>
14 <cmdsynopsis>
15         <command>ResizeMove</command
16         ><arg choice='plain'
17                 ><replaceable>resize-arguments</replaceable
18         ></arg
19         ><arg choice='plain'
20                 ><replaceable>move-arguments</replaceable
21         ></arg>
22 </cmdsynopsis>
24 <para>This command does the same as the
25 <fvwmref cmd="Resize"/>
26 and
27 <fvwmref cmd="Move"/>
28 commands, but in a single call which is less visually
29 disturbing. The
30 <replaceable>resize-arguments</replaceable>
31 are exactly the same arguments as for the
32 <fvwmref cmd="Resize"/>
33 command and the
34 <replaceable>move-arguments</replaceable>
35 are exactly the same arguments as for the
36 <fvwmref cmd="Move"/>
37 command except the
38 <fvwmref cmd="Move" opt="pointer"/>
39 option which is not supported by the
40 <emphasis remap='B'>ResizeMove</emphasis>
41 command.</para>
43 <para>Examples:</para>
45 <programlisting>
46 # Move window to top left corner and cover
47 # most of the screen
48 ResizeMove -10p -20p 0 0
50 # Grow the focused window towards the top of screen
51 <fvwmref cmd="Current"/> <fvwmref cmd="Resize"/> keep w+$[w.y]p keep 0
52 </programlisting>
54 <para>Note: Fvwm may not be able to parse the command properly if the
55 option
56 <fvwmref cmd="Resize" opt="bottomright"/>
57 of the
58 <fvwmref cmd="Resize"/>
59 command is used.</para>
61 </section>