Merge lp:~3v1n0/compiz/scale-xy-offsets into lp:compiz/0.9.11
- scale-xy-offsets
- Merge into 0.9.11
Status: | Merged |
---|---|
Approved by: | Marco Trevisan (Treviño) |
Approved revision: | 3824 |
Merged at revision: | 3829 |
Proposed branch: | lp:~3v1n0/compiz/scale-xy-offsets |
Merge into: | lp:compiz/0.9.11 |
Diff against target: |
393 lines (+91/-74) 3 files modified
debian/patches/ubuntu-config.patch (+59/-58) plugins/scale/scale.xml.in (+12/-0) plugins/scale/src/scale.cpp (+20/-16) |
To merge this branch: | bzr merge lp:~3v1n0/compiz/scale-xy-offsets |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
PS Jenkins bot (community) | continuous-integration | Approve | |
Andrea Azzarone | Approve | ||
Review via email: mp+206748@code.launchpad.net |
Commit message
Scale: add {x,y_offset} options so we can move the scale despite the workarea
Description of the change
Add options to move the spread of a given x,y offset... This is needed in case we have an auto-hidden launcher in unity, so that we don't have a restricted workarea geometry and events over the panel would be grabbed.
Andrea Azzarone (azzar1) : | # |
PS Jenkins bot (ps-jenkins) wrote : | # |
- 3823. By Marco Trevisan (Treviño)
-
UbuntuConfig: refresh the patch to match current scale.xml.in
- 3824. By Marco Trevisan (Treviño)
-
Scale: set minimum offset value to 0
PS Jenkins bot (ps-jenkins) wrote : | # |
PASSED: Continuous integration, rev:3824
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
Preview Diff
1 | === modified file 'debian/patches/ubuntu-config.patch' | |||
2 | --- debian/patches/ubuntu-config.patch 2013-12-04 19:21:12 +0000 | |||
3 | +++ debian/patches/ubuntu-config.patch 2014-02-17 20:36:48 +0000 | |||
4 | @@ -1,8 +1,8 @@ | |||
5 | 1 | === modified file 'metadata/core.xml.in' | 1 | === modified file 'metadata/core.xml.in' |
7 | 2 | Index: compiz/metadata/core.xml.in | 2 | Index: scale-xy-offsets/metadata/core.xml.in |
8 | 3 | =================================================================== | 3 | =================================================================== |
11 | 4 | --- compiz.orig/metadata/core.xml.in 2013-10-08 17:00:56.932757923 +0200 | 4 | --- scale-xy-offsets.orig/metadata/core.xml.in 2014-02-17 21:25:57.420121366 +0100 |
12 | 5 | +++ compiz/metadata/core.xml.in 2013-10-08 17:00:56.916757966 +0200 | 5 | +++ scale-xy-offsets/metadata/core.xml.in 2014-02-17 21:25:57.408121419 +0100 |
13 | 6 | @@ -139,7 +139,7 @@ | 6 | @@ -139,7 +139,7 @@ |
14 | 7 | <option name="focus_prevention_match" type="match"> | 7 | <option name="focus_prevention_match" type="match"> |
15 | 8 | <_short>Focus Prevention Windows</_short> | 8 | <_short>Focus Prevention Windows</_short> |
16 | @@ -65,10 +65,10 @@ | |||
17 | 65 | <min>1</min> | 65 | <min>1</min> |
18 | 66 | <max>32</max> | 66 | <max>32</max> |
19 | 67 | </option> | 67 | </option> |
21 | 68 | Index: compiz/plugins/animation/animation.xml.in | 68 | Index: scale-xy-offsets/plugins/animation/animation.xml.in |
22 | 69 | =================================================================== | 69 | =================================================================== |
25 | 70 | --- compiz.orig/plugins/animation/animation.xml.in 2013-10-08 17:00:56.932757923 +0200 | 70 | --- scale-xy-offsets.orig/plugins/animation/animation.xml.in 2014-02-17 21:25:57.420121366 +0100 |
26 | 71 | +++ compiz/plugins/animation/animation.xml.in 2013-10-08 17:00:56.920757955 +0200 | 71 | +++ scale-xy-offsets/plugins/animation/animation.xml.in 2014-02-17 21:25:57.408121419 +0100 |
27 | 72 | @@ -36,7 +36,7 @@ | 72 | @@ -36,7 +36,7 @@ |
28 | 73 | <extensible/> | 73 | <extensible/> |
29 | 74 | <sort start="2"/> | 74 | <sort start="2"/> |
30 | @@ -207,10 +207,10 @@ | |||
31 | 207 | <min>0</min> | 207 | <min>0</min> |
32 | 208 | <max>1</max> | 208 | <max>1</max> |
33 | 209 | <precision>0.01</precision> | 209 | <precision>0.01</precision> |
35 | 210 | Index: compiz/plugins/decor/decor.xml.in | 210 | Index: scale-xy-offsets/plugins/decor/decor.xml.in |
36 | 211 | =================================================================== | 211 | =================================================================== |
39 | 212 | --- compiz.orig/plugins/decor/decor.xml.in 2013-10-08 17:00:56.932757923 +0200 | 212 | --- scale-xy-offsets.orig/plugins/decor/decor.xml.in 2014-02-17 21:25:57.420121366 +0100 |
40 | 213 | +++ compiz/plugins/decor/decor.xml.in 2013-10-08 17:00:56.920757955 +0200 | 213 | +++ scale-xy-offsets/plugins/decor/decor.xml.in 2014-02-17 21:25:57.412121402 +0100 |
41 | 214 | @@ -31,7 +31,7 @@ | 214 | @@ -31,7 +31,7 @@ |
42 | 215 | <option name="active_shadow_opacity" type="float"> | 215 | <option name="active_shadow_opacity" type="float"> |
43 | 216 | <_short>Shadow Opacity</_short> | 216 | <_short>Shadow Opacity</_short> |
44 | @@ -247,10 +247,10 @@ | |||
45 | 247 | </option> | 247 | </option> |
46 | 248 | <option name="mipmap" type="bool"> | 248 | <option name="mipmap" type="bool"> |
47 | 249 | <_short>Mipmap</_short> | 249 | <_short>Mipmap</_short> |
49 | 250 | Index: compiz/plugins/fade/fade.xml.in | 250 | Index: scale-xy-offsets/plugins/fade/fade.xml.in |
50 | 251 | =================================================================== | 251 | =================================================================== |
53 | 252 | --- compiz.orig/plugins/fade/fade.xml.in 2013-10-08 17:00:56.932757923 +0200 | 252 | --- scale-xy-offsets.orig/plugins/fade/fade.xml.in 2014-02-17 21:25:57.420121366 +0100 |
54 | 253 | +++ compiz/plugins/fade/fade.xml.in 2013-10-08 17:00:56.920757955 +0200 | 253 | +++ scale-xy-offsets/plugins/fade/fade.xml.in 2014-02-17 21:25:57.412121402 +0100 |
55 | 254 | @@ -10,6 +10,7 @@ | 254 | @@ -10,6 +10,7 @@ |
56 | 255 | </requirement> | 255 | </requirement> |
57 | 256 | <relation type="after"> | 256 | <relation type="after"> |
58 | @@ -268,10 +268,10 @@ | |||
59 | 268 | </option> | 268 | </option> |
60 | 269 | <option name="visual_bell" type="bell"> | 269 | <option name="visual_bell" type="bell"> |
61 | 270 | <_short>Visual Bell</_short> | 270 | <_short>Visual Bell</_short> |
63 | 271 | Index: compiz/plugins/gnomecompat/gnomecompat.xml.in | 271 | Index: scale-xy-offsets/plugins/gnomecompat/gnomecompat.xml.in |
64 | 272 | =================================================================== | 272 | =================================================================== |
67 | 273 | --- compiz.orig/plugins/gnomecompat/gnomecompat.xml.in 2013-10-08 17:00:56.932757923 +0200 | 273 | --- scale-xy-offsets.orig/plugins/gnomecompat/gnomecompat.xml.in 2014-02-17 21:25:57.420121366 +0100 |
68 | 274 | +++ compiz/plugins/gnomecompat/gnomecompat.xml.in 2013-10-08 17:00:56.920757955 +0200 | 274 | +++ scale-xy-offsets/plugins/gnomecompat/gnomecompat.xml.in 2014-02-17 21:25:57.412121402 +0100 |
69 | 275 | @@ -53,6 +53,7 @@ | 275 | @@ -53,6 +53,7 @@ |
70 | 276 | <option name="run_command_terminal_key" type="key"> | 276 | <option name="run_command_terminal_key" type="key"> |
71 | 277 | <_short>Open a terminal</_short> | 277 | <_short>Open a terminal</_short> |
72 | @@ -280,10 +280,10 @@ | |||
73 | 280 | </option> | 280 | </option> |
74 | 281 | </group> | 281 | </group> |
75 | 282 | </options> | 282 | </options> |
77 | 283 | Index: compiz/plugins/place/place.xml.in | 283 | Index: scale-xy-offsets/plugins/place/place.xml.in |
78 | 284 | =================================================================== | 284 | =================================================================== |
81 | 285 | --- compiz.orig/plugins/place/place.xml.in 2013-10-08 17:00:56.932757923 +0200 | 285 | --- scale-xy-offsets.orig/plugins/place/place.xml.in 2014-02-17 21:25:57.420121366 +0100 |
82 | 286 | +++ compiz/plugins/place/place.xml.in 2013-10-08 17:00:56.920757955 +0200 | 286 | +++ scale-xy-offsets/plugins/place/place.xml.in 2014-02-17 21:25:57.412121402 +0100 |
83 | 287 | @@ -20,8 +20,8 @@ | 287 | @@ -20,8 +20,8 @@ |
84 | 288 | <option name="mode" type="int"> | 288 | <option name="mode" type="int"> |
85 | 289 | <_short>Placement Mode</_short> | 289 | <_short>Placement Mode</_short> |
86 | @@ -295,10 +295,10 @@ | |||
87 | 295 | <max>5</max> | 295 | <max>5</max> |
88 | 296 | <desc> | 296 | <desc> |
89 | 297 | <value>0</value> | 297 | <value>0</value> |
91 | 298 | Index: compiz/plugins/resize/resize.xml.in | 298 | Index: scale-xy-offsets/plugins/resize/resize.xml.in |
92 | 299 | =================================================================== | 299 | =================================================================== |
95 | 300 | --- compiz.orig/plugins/resize/resize.xml.in 2013-10-08 17:00:56.932757923 +0200 | 300 | --- scale-xy-offsets.orig/plugins/resize/resize.xml.in 2014-02-17 21:25:57.420121366 +0100 |
96 | 301 | +++ compiz/plugins/resize/resize.xml.in 2013-10-08 17:00:56.920757955 +0200 | 301 | +++ scale-xy-offsets/plugins/resize/resize.xml.in 2014-02-17 21:25:57.412121402 +0100 |
97 | 302 | @@ -28,7 +28,7 @@ | 302 | @@ -28,7 +28,7 @@ |
98 | 303 | <option name="mode" type="int"> | 303 | <option name="mode" type="int"> |
99 | 304 | <_short>Default Resize Mode</_short> | 304 | <_short>Default Resize Mode</_short> |
100 | @@ -343,11 +343,11 @@ | |||
101 | 343 | </default> | 343 | </default> |
102 | 344 | </option> | 344 | </option> |
103 | 345 | <subgroup> | 345 | <subgroup> |
105 | 346 | Index: compiz/plugins/scale/scale.xml.in | 346 | Index: scale-xy-offsets/plugins/scale/scale.xml.in |
106 | 347 | =================================================================== | 347 | =================================================================== |
110 | 348 | --- compiz.orig/plugins/scale/scale.xml.in 2013-10-08 17:00:56.932757923 +0200 | 348 | --- scale-xy-offsets.orig/plugins/scale/scale.xml.in 2014-02-17 21:25:57.420121366 +0100 |
111 | 349 | +++ compiz/plugins/scale/scale.xml.in 2013-10-08 17:00:56.920757955 +0200 | 349 | +++ scale-xy-offsets/plugins/scale/scale.xml.in 2014-02-17 21:31:47.058611881 +0100 |
112 | 350 | @@ -19,14 +19,14 @@ | 350 | @@ -19,7 +19,7 @@ |
113 | 351 | <option name="spacing" type="int"> | 351 | <option name="spacing" type="int"> |
114 | 352 | <_short>Spacing</_short> | 352 | <_short>Spacing</_short> |
115 | 353 | <_long>Space between windows</_long> | 353 | <_long>Space between windows</_long> |
116 | @@ -356,6 +356,7 @@ | |||
117 | 356 | <min>0</min> | 356 | <min>0</min> |
118 | 357 | <max>250</max> | 357 | <max>250</max> |
119 | 358 | </option> | 358 | </option> |
120 | 359 | @@ -36,7 +36,7 @@ | ||
121 | 359 | <option name="speed" type="float"> | 360 | <option name="speed" type="float"> |
122 | 360 | <_short>Speed</_short> | 361 | <_short>Speed</_short> |
123 | 361 | <_long>Scale speed</_long> | 362 | <_long>Scale speed</_long> |
124 | @@ -364,7 +365,7 @@ | |||
125 | 364 | <min>0.1</min> | 365 | <min>0.1</min> |
126 | 365 | <max>50</max> | 366 | <max>50</max> |
127 | 366 | <precision>0.1</precision> | 367 | <precision>0.1</precision> |
129 | 367 | @@ -34,7 +34,7 @@ | 368 | @@ -44,7 +44,7 @@ |
130 | 368 | <option name="timestep" type="float"> | 369 | <option name="timestep" type="float"> |
131 | 369 | <_short>Timestep</_short> | 370 | <_short>Timestep</_short> |
132 | 370 | <_long>Scale timestep</_long> | 371 | <_long>Scale timestep</_long> |
133 | @@ -373,7 +374,7 @@ | |||
134 | 373 | <min>0.1</min> | 374 | <min>0.1</min> |
135 | 374 | <max>50</max> | 375 | <max>50</max> |
136 | 375 | <precision>0.1</precision> | 376 | <precision>0.1</precision> |
138 | 376 | @@ -47,7 +47,7 @@ | 377 | @@ -57,7 +57,7 @@ |
139 | 377 | <option name="opacity" type="int"> | 378 | <option name="opacity" type="int"> |
140 | 378 | <_short>Opacity</_short> | 379 | <_short>Opacity</_short> |
141 | 379 | <_long>Amount of opacity in percent</_long> | 380 | <_long>Amount of opacity in percent</_long> |
142 | @@ -382,7 +383,7 @@ | |||
143 | 382 | <min>0</min> | 383 | <min>0</min> |
144 | 383 | <max>100</max> | 384 | <max>100</max> |
145 | 384 | </option> | 385 | </option> |
147 | 385 | @@ -56,7 +56,7 @@ | 386 | @@ -66,7 +66,7 @@ |
148 | 386 | <_long>Overlay an icon on windows once they are scaled</_long> | 387 | <_long>Overlay an icon on windows once they are scaled</_long> |
149 | 387 | <min>0</min> | 388 | <min>0</min> |
150 | 388 | <max>2</max> | 389 | <max>2</max> |
151 | @@ -391,7 +392,7 @@ | |||
152 | 391 | <desc> | 392 | <desc> |
153 | 392 | <value>0</value> | 393 | <value>0</value> |
154 | 393 | <_name>None</_name> | 394 | <_name>None</_name> |
156 | 394 | @@ -97,7 +97,7 @@ | 395 | @@ -107,7 +107,7 @@ |
157 | 395 | <_long>Selects where windows are scaled if multiple output devices are used.</_long> | 396 | <_long>Selects where windows are scaled if multiple output devices are used.</_long> |
158 | 396 | <min>0</min> | 397 | <min>0</min> |
159 | 397 | <max>1</max> | 398 | <max>1</max> |
160 | @@ -400,7 +401,7 @@ | |||
161 | 400 | <desc> | 401 | <desc> |
162 | 401 | <value>0</value> | 402 | <value>0</value> |
163 | 402 | <_name>On current output device</_name> | 403 | <_name>On current output device</_name> |
165 | 403 | @@ -113,7 +113,7 @@ | 404 | @@ -123,7 +123,7 @@ |
166 | 404 | <option name="key_bindings_toggle" type="bool"> | 405 | <option name="key_bindings_toggle" type="bool"> |
167 | 405 | <_short>Key Bindings Toggle Scale Mode</_short> | 406 | <_short>Key Bindings Toggle Scale Mode</_short> |
168 | 406 | <_long>Key bindings toggle scale mode instead of enabling it when pressed and disabling it when released.</_long> | 407 | <_long>Key bindings toggle scale mode instead of enabling it when pressed and disabling it when released.</_long> |
169 | @@ -409,7 +410,7 @@ | |||
170 | 409 | </option> | 410 | </option> |
171 | 410 | <option name="button_bindings_toggle" type="bool"> | 411 | <option name="button_bindings_toggle" type="bool"> |
172 | 411 | <_short>Button Bindings Toggle Scale Mode</_short> | 412 | <_short>Button Bindings Toggle Scale Mode</_short> |
174 | 412 | @@ -123,15 +123,12 @@ | 413 | @@ -133,15 +133,12 @@ |
175 | 413 | <option name="initiate_edge" type="edge"> | 414 | <option name="initiate_edge" type="edge"> |
176 | 414 | <_short>Initiate Window Picker</_short> | 415 | <_short>Initiate Window Picker</_short> |
177 | 415 | <_long>Layout and start transforming windows</_long> | 416 | <_long>Layout and start transforming windows</_long> |
178 | @@ -426,10 +427,10 @@ | |||
179 | 426 | </option> | 427 | </option> |
180 | 427 | <option name="initiate_button" type="button"> | 428 | <option name="initiate_button" type="button"> |
181 | 428 | <_short>Initiate Window Picker</_short> | 429 | <_short>Initiate Window Picker</_short> |
183 | 429 | Index: compiz/plugins/staticswitcher/staticswitcher.xml.in | 430 | Index: scale-xy-offsets/plugins/staticswitcher/staticswitcher.xml.in |
184 | 430 | =================================================================== | 431 | =================================================================== |
187 | 431 | --- compiz.orig/plugins/staticswitcher/staticswitcher.xml.in 2013-10-08 17:00:56.932757923 +0200 | 432 | --- scale-xy-offsets.orig/plugins/staticswitcher/staticswitcher.xml.in 2014-02-17 21:25:57.420121366 +0100 |
188 | 432 | +++ compiz/plugins/staticswitcher/staticswitcher.xml.in 2013-10-08 17:00:56.920757955 +0200 | 433 | +++ scale-xy-offsets/plugins/staticswitcher/staticswitcher.xml.in 2014-02-17 21:25:57.412121402 +0100 |
189 | 433 | @@ -11,7 +11,6 @@ | 434 | @@ -11,7 +11,6 @@ |
190 | 434 | <relation type="after"> | 435 | <relation type="after"> |
191 | 435 | <plugin>composite</plugin> | 436 | <plugin>composite</plugin> |
192 | @@ -506,10 +507,10 @@ | |||
193 | 506 | <desc> | 507 | <desc> |
194 | 507 | <value>0</value> | 508 | <value>0</value> |
195 | 508 | <_name>None</_name> | 509 | <_name>None</_name> |
197 | 509 | Index: compiz/plugins/vpswitch/vpswitch.xml.in | 510 | Index: scale-xy-offsets/plugins/vpswitch/vpswitch.xml.in |
198 | 510 | =================================================================== | 511 | =================================================================== |
201 | 511 | --- compiz.orig/plugins/vpswitch/vpswitch.xml.in 2013-10-08 17:00:56.932757923 +0200 | 512 | --- scale-xy-offsets.orig/plugins/vpswitch/vpswitch.xml.in 2014-02-17 21:25:57.420121366 +0100 |
202 | 512 | +++ compiz/plugins/vpswitch/vpswitch.xml.in 2013-10-08 17:00:56.924757944 +0200 | 513 | +++ scale-xy-offsets/plugins/vpswitch/vpswitch.xml.in 2014-02-17 21:25:57.412121402 +0100 |
203 | 513 | @@ -95,13 +95,11 @@ | 514 | @@ -95,13 +95,11 @@ |
204 | 514 | <option name="next_button" type="button"> | 515 | <option name="next_button" type="button"> |
205 | 515 | <_short>Move Next</_short> | 516 | <_short>Move Next</_short> |
206 | @@ -524,10 +525,10 @@ | |||
207 | 524 | <internal/> | 525 | <internal/> |
208 | 525 | </option> | 526 | </option> |
209 | 526 | <option name="initiate_button" type="button"> | 527 | <option name="initiate_button" type="button"> |
211 | 527 | Index: compiz/plugins/wall/wall.xml.in | 528 | Index: scale-xy-offsets/plugins/wall/wall.xml.in |
212 | 528 | =================================================================== | 529 | =================================================================== |
215 | 529 | --- compiz.orig/plugins/wall/wall.xml.in 2013-10-08 17:00:56.932757923 +0200 | 530 | --- scale-xy-offsets.orig/plugins/wall/wall.xml.in 2014-02-17 21:25:57.420121366 +0100 |
216 | 530 | +++ compiz/plugins/wall/wall.xml.in 2013-10-08 17:00:56.924757944 +0200 | 531 | +++ scale-xy-offsets/plugins/wall/wall.xml.in 2014-02-17 21:25:57.416121383 +0100 |
217 | 531 | @@ -30,12 +30,12 @@ | 532 | @@ -30,12 +30,12 @@ |
218 | 532 | <option name="miniscreen" type="bool"> | 533 | <option name="miniscreen" type="bool"> |
219 | 533 | <_short>Show Live Viewport Previews</_short> | 534 | <_short>Show Live Viewport Previews</_short> |
220 | @@ -684,10 +685,10 @@ | |||
221 | 684 | </option> | 685 | </option> |
222 | 685 | <option name="edgeflip_dnd" type="bool"> | 686 | <option name="edgeflip_dnd" type="bool"> |
223 | 686 | <_short>Edge Flip DnD</_short> | 687 | <_short>Edge Flip DnD</_short> |
225 | 687 | Index: compiz/tests/system/xorg-gtest/tests/compiz_xorg_gtest_ewmh.cpp | 688 | Index: scale-xy-offsets/tests/system/xorg-gtest/tests/compiz_xorg_gtest_ewmh.cpp |
226 | 688 | =================================================================== | 689 | =================================================================== |
229 | 689 | --- compiz.orig/tests/system/xorg-gtest/tests/compiz_xorg_gtest_ewmh.cpp 2013-10-08 17:00:56.932757923 +0200 | 690 | --- scale-xy-offsets.orig/tests/system/xorg-gtest/tests/compiz_xorg_gtest_ewmh.cpp 2014-02-17 21:25:57.420121366 +0100 |
230 | 690 | +++ compiz/tests/system/xorg-gtest/tests/compiz_xorg_gtest_ewmh.cpp 2013-10-08 17:00:56.924757944 +0200 | 691 | +++ scale-xy-offsets/tests/system/xorg-gtest/tests/compiz_xorg_gtest_ewmh.cpp 2014-02-17 21:25:57.416121383 +0100 |
231 | 691 | @@ -46,7 +46,7 @@ | 692 | @@ -46,7 +46,7 @@ |
232 | 692 | 693 | ||
233 | 693 | namespace | 694 | namespace |
234 | @@ -697,10 +698,10 @@ | |||
235 | 697 | unsigned int DEFAULT_VIEWPORT_HEIGHT = 1; | 698 | unsigned int DEFAULT_VIEWPORT_HEIGHT = 1; |
236 | 698 | 699 | ||
237 | 699 | bool Advance (Display *d, bool r) | 700 | bool Advance (Display *d, bool r) |
239 | 700 | Index: compiz/plugins/grid/grid.xml.in | 701 | Index: scale-xy-offsets/plugins/grid/grid.xml.in |
240 | 701 | =================================================================== | 702 | =================================================================== |
243 | 702 | --- compiz.orig/plugins/grid/grid.xml.in 2013-12-04 12:23:44.021963832 -0500 | 703 | --- scale-xy-offsets.orig/plugins/grid/grid.xml.in 2014-02-17 21:25:57.420121366 +0100 |
244 | 703 | +++ compiz/plugins/grid/grid.xml.in 2013-12-04 12:24:43.885963254 -0500 | 704 | +++ scale-xy-offsets/plugins/grid/grid.xml.in 2014-02-17 21:25:57.416121383 +0100 |
245 | 704 | @@ -68,12 +68,12 @@ | 705 | @@ -68,12 +68,12 @@ |
246 | 705 | <option name="put_maximize_key" type="key"> | 706 | <option name="put_maximize_key" type="key"> |
247 | 706 | <_short>Maximize Key</_short> | 707 | <_short>Maximize Key</_short> |
248 | @@ -716,10 +717,10 @@ | |||
249 | 716 | </option> | 717 | </option> |
250 | 717 | <option name="left_maximize" type="key"> | 718 | <option name="left_maximize" type="key"> |
251 | 718 | <_short>Left Maximize</_short> | 719 | <_short>Left Maximize</_short> |
253 | 719 | Index: compiz/plugins/ezoom/ezoom.xml.in | 720 | Index: scale-xy-offsets/plugins/ezoom/ezoom.xml.in |
254 | 720 | =================================================================== | 721 | =================================================================== |
257 | 721 | --- compiz.orig/plugins/ezoom/ezoom.xml.in 2013-10-08 17:00:56.932757923 +0200 | 722 | --- scale-xy-offsets.orig/plugins/ezoom/ezoom.xml.in 2014-02-17 21:25:57.420121366 +0100 |
258 | 722 | +++ compiz/plugins/ezoom/ezoom.xml.in 2013-10-08 17:00:56.924757944 +0200 | 723 | +++ scale-xy-offsets/plugins/ezoom/ezoom.xml.in 2014-02-17 21:25:57.416121383 +0100 |
259 | 723 | @@ -30,7 +30,7 @@ | 724 | @@ -30,7 +30,7 @@ |
260 | 724 | <option type="button" name="zoom_in_button"> | 725 | <option type="button" name="zoom_in_button"> |
261 | 725 | <_short>Zoom In Button</_short> | 726 | <_short>Zoom In Button</_short> |
262 | @@ -756,10 +757,10 @@ | |||
263 | 756 | </option> | 757 | </option> |
264 | 757 | </subgroup> | 758 | </subgroup> |
265 | 758 | </group> | 759 | </group> |
267 | 759 | Index: compiz/plugins/expo/expo.xml.in | 760 | Index: scale-xy-offsets/plugins/expo/expo.xml.in |
268 | 760 | =================================================================== | 761 | =================================================================== |
271 | 761 | --- compiz.orig/plugins/expo/expo.xml.in 2013-10-08 17:00:56.932757923 +0200 | 762 | --- scale-xy-offsets.orig/plugins/expo/expo.xml.in 2014-02-17 21:25:57.420121366 +0100 |
272 | 762 | +++ compiz/plugins/expo/expo.xml.in 2013-10-08 17:00:56.924757944 +0200 | 763 | +++ scale-xy-offsets/plugins/expo/expo.xml.in 2014-02-17 21:25:57.416121383 +0100 |
273 | 763 | @@ -17,6 +17,7 @@ | 764 | @@ -17,6 +17,7 @@ |
274 | 764 | <plugin>wobbly</plugin> | 765 | <plugin>wobbly</plugin> |
275 | 765 | <plugin>animation</plugin> | 766 | <plugin>animation</plugin> |
276 | @@ -854,10 +855,10 @@ | |||
277 | 854 | </option> | 855 | </option> |
278 | 855 | <option name="ground_color1" type="color"> | 856 | <option name="ground_color1" type="color"> |
279 | 856 | <_short>Ground Color (near)</_short> | 857 | <_short>Ground Color (near)</_short> |
281 | 857 | Index: compiz/compizconfig/integration/gnome/gsettings/org.compiz.integrated.gschema.xml | 858 | Index: scale-xy-offsets/compizconfig/integration/gnome/gsettings/org.compiz.integrated.gschema.xml |
282 | 858 | =================================================================== | 859 | =================================================================== |
285 | 859 | --- compiz.orig/compizconfig/integration/gnome/gsettings/org.compiz.integrated.gschema.xml 2013-10-08 17:00:56.932757923 +0200 | 860 | --- scale-xy-offsets.orig/compizconfig/integration/gnome/gsettings/org.compiz.integrated.gschema.xml 2014-02-17 21:25:57.420121366 +0100 |
286 | 860 | +++ compiz/compizconfig/integration/gnome/gsettings/org.compiz.integrated.gschema.xml 2013-10-08 17:00:56.924757944 +0200 | 861 | +++ scale-xy-offsets/compizconfig/integration/gnome/gsettings/org.compiz.integrated.gschema.xml 2014-02-17 21:25:57.416121383 +0100 |
287 | 861 | @@ -10,6 +10,9 @@ | 862 | @@ -10,6 +10,9 @@ |
288 | 862 | <key type="s" name="command-screenshot"> | 863 | <key type="s" name="command-screenshot"> |
289 | 863 | <default>"gnome-screenshot"</default> | 864 | <default>"gnome-screenshot"</default> |
290 | @@ -878,10 +879,10 @@ | |||
291 | 878 | <key type="s" name="command-12"> | 879 | <key type="s" name="command-12"> |
292 | 879 | <default>""</default> | 880 | <default>""</default> |
293 | 880 | </key> | 881 | </key> |
295 | 881 | Index: compiz/plugins/commands/commands.xml.in | 882 | Index: scale-xy-offsets/plugins/commands/commands.xml.in |
296 | 882 | =================================================================== | 883 | =================================================================== |
299 | 883 | --- compiz.orig/plugins/commands/commands.xml.in 2013-10-08 17:00:56.932757923 +0200 | 884 | --- scale-xy-offsets.orig/plugins/commands/commands.xml.in 2014-02-17 21:25:57.420121366 +0100 |
300 | 884 | +++ compiz/plugins/commands/commands.xml.in 2013-10-08 17:00:56.924757944 +0200 | 885 | +++ scale-xy-offsets/plugins/commands/commands.xml.in 2014-02-17 21:25:57.416121383 +0100 |
301 | 885 | @@ -117,7 +117,7 @@ | 886 | @@ -117,7 +117,7 @@ |
302 | 886 | <option name="command20" type="string"> | 887 | <option name="command20" type="string"> |
303 | 887 | <_short>Command line 20</_short> | 888 | <_short>Command line 20</_short> |
304 | 888 | 889 | ||
305 | === modified file 'plugins/scale/scale.xml.in' | |||
306 | --- plugins/scale/scale.xml.in 2013-11-11 20:07:16 +0000 | |||
307 | +++ plugins/scale/scale.xml.in 2014-02-17 20:36:48 +0000 | |||
308 | @@ -23,6 +23,18 @@ | |||
309 | 23 | <min>0</min> | 23 | <min>0</min> |
310 | 24 | <max>250</max> | 24 | <max>250</max> |
311 | 25 | </option> | 25 | </option> |
312 | 26 | <option name="x_offset" type="int"> | ||
313 | 27 | <_short>X Offset</_short> | ||
314 | 28 | <_long>Horizontal offset (in pixels).</_long> | ||
315 | 29 | <min>0</min> | ||
316 | 30 | <default>0</default> | ||
317 | 31 | </option> | ||
318 | 32 | <option name="y_offset" type="int"> | ||
319 | 33 | <_short>Y Offset</_short> | ||
320 | 34 | <_long>Vertical offset (in pixels).</_long> | ||
321 | 35 | <min>0</min> | ||
322 | 36 | <default>0</default> | ||
323 | 37 | </option> | ||
324 | 26 | <option name="speed" type="float"> | 38 | <option name="speed" type="float"> |
325 | 27 | <_short>Speed</_short> | 39 | <_short>Speed</_short> |
326 | 28 | <_long>Scale speed</_long> | 40 | <_long>Scale speed</_long> |
327 | 29 | 41 | ||
328 | === modified file 'plugins/scale/src/scale.cpp' | |||
329 | --- plugins/scale/src/scale.cpp 2013-11-11 20:07:16 +0000 | |||
330 | +++ plugins/scale/src/scale.cpp 2014-02-17 20:36:48 +0000 | |||
331 | @@ -435,15 +435,15 @@ | |||
332 | 435 | int spacing = optionGetSpacing (); | 435 | int spacing = optionGetSpacing (); |
333 | 436 | int nSlots = 0; | 436 | int nSlots = 0; |
334 | 437 | 437 | ||
337 | 438 | y = workArea.y () + spacing; | 438 | y = optionGetYOffset() + workArea.y () + spacing; |
338 | 439 | height = (workArea.height () - (lines + 1) * spacing) / lines; | 439 | height = (workArea.height () - optionGetYOffset() - (lines + 1) * spacing) / lines; |
339 | 440 | 440 | ||
340 | 441 | for (int i = 0; i < lines; i++) | 441 | for (int i = 0; i < lines; i++) |
341 | 442 | { | 442 | { |
342 | 443 | n = MIN (nWindows - nSlots, ceilf ((float) nWindows / lines)); | 443 | n = MIN (nWindows - nSlots, ceilf ((float) nWindows / lines)); |
343 | 444 | 444 | ||
346 | 445 | x = workArea.x () + spacing; | 445 | x = optionGetXOffset() + workArea.x () + spacing; |
347 | 446 | width = (workArea.width () - (n + 1) * spacing) / n; | 446 | width = (workArea.width () - optionGetXOffset() - (n + 1) * spacing) / n; |
348 | 447 | 447 | ||
349 | 448 | for (int j = 0; j < n; j++) | 448 | for (int j = 0; j < n; j++) |
350 | 449 | { | 449 | { |
351 | @@ -1614,6 +1614,8 @@ | |||
352 | 1614 | { | 1614 | { |
353 | 1615 | CompPoint pointer (button->x_root, button->y_root); | 1615 | CompPoint pointer (button->x_root, button->y_root); |
354 | 1616 | CompRect workArea (screen->workArea ()); | 1616 | CompRect workArea (screen->workArea ()); |
355 | 1617 | workArea.setX (workArea.x() + optionGetXOffset ()); | ||
356 | 1618 | workArea.setY (workArea.y() + optionGetYOffset ()); | ||
357 | 1617 | 1619 | ||
358 | 1618 | if (workArea.contains (pointer)) | 1620 | if (workArea.contains (pointer)) |
359 | 1619 | { | 1621 | { |
360 | @@ -1622,19 +1624,21 @@ | |||
361 | 1622 | screen->enterShowDesktopMode (); | 1624 | screen->enterShowDesktopMode (); |
362 | 1623 | } | 1625 | } |
363 | 1624 | } | 1626 | } |
369 | 1625 | else if (optionGetClickOnDesktop () == 2 && | 1627 | else if (optionGetClickOnDesktop () == 2 && |
370 | 1626 | event->xbutton.button == Button1) | 1628 | event->xbutton.button == Button1) |
371 | 1627 | { | 1629 | { |
372 | 1628 | CompPoint pointer (button->x_root, button->y_root); | 1630 | CompPoint pointer (button->x_root, button->y_root); |
373 | 1629 | CompRect workArea (screen->workArea ()); | 1631 | CompRect workArea (screen->workArea ()); |
374 | 1632 | workArea.setX (workArea.x() + optionGetXOffset ()); | ||
375 | 1633 | workArea.setY (workArea.y() + optionGetYOffset ()); | ||
376 | 1630 | 1634 | ||
384 | 1631 | if (workArea.contains (pointer)) | 1635 | if (workArea.contains (pointer)) |
385 | 1632 | { | 1636 | { |
386 | 1633 | scaleTerminate (&optionGetInitiateEdge (), 0, o); | 1637 | scaleTerminate (&optionGetInitiateEdge (), 0, o); |
387 | 1634 | scaleTerminate (&optionGetInitiateKey (), 0, o); | 1638 | scaleTerminate (&optionGetInitiateKey (), 0, o); |
388 | 1635 | } | 1639 | } |
389 | 1636 | } | 1640 | } |
390 | 1637 | } | 1641 | } |
391 | 1638 | break; | 1642 | break; |
392 | 1639 | case MotionNotify: | 1643 | case MotionNotify: |
393 | 1640 | if (screen->root () == event->xmotion.root && | 1644 | if (screen->root () == event->xmotion.root && |
FAILED: Continuous integration, rev:3822 jenkins. qa.ubuntu. com/job/ compiz- 0.9.11- ci/33/ jenkins. qa.ubuntu. com/job/ compiz- 0.9.11- trusty- amd64-ci/ 33/console jenkins. qa.ubuntu. com/job/ compiz- 0.9.11- trusty- armhf-ci/ 33/console jenkins. qa.ubuntu. com/job/ compiz- 0.9.11- trusty- i386-ci/ 33/console
http://
Executed test runs:
FAILURE: http://
FAILURE: http://
FAILURE: http://
Click here to trigger a rebuild: s-jenkins. ubuntu- ci:8080/ job/compiz- 0.9.11- ci/33/rebuild
http://