~mjuhasz/compiz-plugins-main/fix-834248

« back to all changes in this revision

Viewing changes to snap/snap.xml.in

  • Committer: Sam Spilsbury
  • Date: 2011-07-12 08:07:45 UTC
  • Revision ID: sam.spilsbury@canonical.com-20110712080745-glytqbjoa84xeo0f
Sync in changes from upstream

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0"?>
 
2
<compiz>
 
3
    <plugin name="snap" useBcop="true">
 
4
        <_short>Snapping Windows</_short>
 
5
        <_long>Enables windows edges resistance</_long>
 
6
        <category>Window Management</category>
 
7
        <feature>edgeresistance</feature>
 
8
        <deps>
 
9
            <relation type="after">
 
10
                <plugin>opengl</plugin>
 
11
                <plugin>composite</plugin>
 
12
                <plugin>decor</plugin>
 
13
            </relation>
 
14
        </deps>
 
15
        <options>
 
16
            <group>
 
17
                <_short>Bindings</_short>
 
18
                <option name="avoid_snap" type="list">
 
19
                    <_short>Avoid Snap Modifier</_short>
 
20
                    <_long>Use these bindings to avoid snapping.</_long>
 
21
                    <type>int</type>
 
22
                    <min>0</min>
 
23
                    <max>3</max>
 
24
                    <default>
 
25
                        <value>0</value>
 
26
                    </default>
 
27
                    <desc>
 
28
                        <value>0</value>
 
29
                        <_name>Shift</_name>
 
30
                    </desc>
 
31
                    <desc>
 
32
                        <value>1</value>
 
33
                        <_name>Alt</_name>
 
34
                    </desc>
 
35
                    <desc>
 
36
                        <value>2</value>
 
37
                        <_name>Control</_name>
 
38
                    </desc>
 
39
                    <desc>
 
40
                        <value>3</value>
 
41
                        <_name>Meta</_name>
 
42
                    </desc>
 
43
                </option>
 
44
            </group>
 
45
            <group>
 
46
                <_short>Behaviour</_short>
 
47
                <option name="snap_type" type="list">
 
48
                    <_short>Snap Type</_short>
 
49
                    <_long>Choose 'Resistance', 'Attraction' or 'Full Mode'.</_long>
 
50
                    <type>int</type>
 
51
                    <min>0</min>
 
52
                    <max>1</max>
 
53
                    <default>
 
54
                        <value>0</value>
 
55
                    </default>
 
56
                    <desc>
 
57
                        <value>0</value>
 
58
                        <_name>Edge resistance</_name>
 
59
                    </desc>
 
60
                    <desc>
 
61
                        <value>1</value>
 
62
                        <_name>Edge attraction</_name>
 
63
                    </desc>
 
64
                </option>
 
65
                <option name="edges_categories" type="list">
 
66
                    <_short>Edges</_short>
 
67
                    <_long>Snap to 'Screen Edges', 'Windows Edges' or 'Both'.</_long>
 
68
                    <type>int</type>
 
69
                    <min>0</min>
 
70
                    <max>1</max>
 
71
                    <default>
 
72
                        <value>0</value>
 
73
                    </default>
 
74
                    <desc>
 
75
                        <value>0</value>
 
76
                        <_name>Screen edges</_name>
 
77
                    </desc>
 
78
                    <desc>
 
79
                        <value>1</value>
 
80
                        <_name>Window edges</_name>
 
81
                    </desc>
 
82
                </option>
 
83
                <option name="resistance_distance" type="int">
 
84
                    <_short>Edge Resistance Distance</_short>
 
85
                    <_long>The distance until edge resistance takes place.</_long>
 
86
                    <default>30</default>
 
87
                    <min>1</min>
 
88
                    <max>100</max>
 
89
                </option>
 
90
                <option name="attraction_distance" type="int">
 
91
                    <_short>Edge Attraction Distance</_short>
 
92
                    <_long>The distance until edge attraction takes place.</_long>
 
93
                    <default>20</default>
 
94
                    <min>1</min>
 
95
                    <max>100</max>
 
96
                </option>
 
97
            </group>
 
98
        </options>
 
99
    </plugin>
 
100
</compiz>