File: ResizeMove.xml

package info (click to toggle)
fvwm 1%3A2.7.0-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 15,968 kB
  • sloc: ansic: 145,836; xml: 17,096; perl: 7,237; sh: 5,100; makefile: 1,101; yacc: 688; lex: 187; sed: 11
file content (61 lines) | stat: -rw-r--r-- 1,468 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE part PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
  "../docbook-xml/docbookx.dtd"
[
<!ENTITY % myents SYSTEM "../fvwm.ent" >
%myents;
]>

<!-- $Id$ -->

<section id='ResizeMove'>
<title>ResizeMove</title>

<cmdsynopsis>
	<command>ResizeMove</command
	><arg choice='plain'
		><replaceable>resize-arguments</replaceable
	></arg
	><arg choice='plain'
		><replaceable>move-arguments</replaceable
	></arg>
</cmdsynopsis>

<para>This command does the same as the
<fvwmref cmd="Resize"/>
and
<fvwmref cmd="Move"/>
commands, but in a single call which is less visually
disturbing. The
<replaceable>resize-arguments</replaceable>
are exactly the same arguments as for the
<fvwmref cmd="Resize"/>
command and the
<replaceable>move-arguments</replaceable>
are exactly the same arguments as for the
<fvwmref cmd="Move"/>
command except the
<fvwmref cmd="Move" opt="pointer"/>
option which is not supported by the
<emphasis remap='B'>ResizeMove</emphasis>
command.</para>

<para>Examples:</para>

<programlisting>
# Move window to top left corner and cover
# most of the screen
ResizeMove -10p -20p 0 0

# Grow the focused window towards the top of screen
<fvwmref cmd="Current"/> <fvwmref cmd="Resize"/> keep w+$[w.y]p keep 0
</programlisting>

<para>Note: Fvwm may not be able to parse the command properly if the
option
<fvwmref cmd="Resize" opt="bottomright"/>
of the
<fvwmref cmd="Resize"/>
command is used.</para>

</section>