add compiz_primary-is-control.patch
This commit is contained in:
parent
bef04bb813
commit
e7d8ab16a0
1
.gitignore
vendored
1
.gitignore
vendored
@ -6,4 +6,3 @@ core-*.tar.*
|
||||
.build-*.log
|
||||
/i?86/
|
||||
/x86_64/
|
||||
/compiz_primary-is-control.patch
|
||||
|
162
compiz_primary-is-control.patch
Normal file
162
compiz_primary-is-control.patch
Normal file
@ -0,0 +1,162 @@
|
||||
diff -upr compiz-0.8.8-orig/metadata/core.xml.in compiz-0.8.8/metadata/core.xml.in
|
||||
--- compiz-0.8.8-orig/metadata/core.xml.in 2011-03-30 11:41:22.000000000 +0200
|
||||
+++ compiz-0.8.8/metadata/core.xml.in 2013-02-10 22:26:48.439117129 +0100
|
||||
@@ -108,7 +108,7 @@
|
||||
<option name="raise_window_button" type="button">
|
||||
<_short>Raise Window</_short>
|
||||
<_long>Raise window above other windows</_long>
|
||||
- <default><Control>Button6</default>
|
||||
+ <default><Primary>Button6</default>
|
||||
</option>
|
||||
<option name="lower_window_key" type="key">
|
||||
<_short>Lower Window</_short>
|
||||
@@ -159,7 +159,7 @@
|
||||
<option name="show_desktop_key" type="key">
|
||||
<_short>Show Desktop</_short>
|
||||
<_long>Hide all windows and focus desktop</_long>
|
||||
- <default><Control><Alt>d</default>
|
||||
+ <default><Primary><Alt>d</default>
|
||||
</option>
|
||||
<option name="show_desktop_edge" type="edge">
|
||||
<_short>Show Desktop</_short>
|
||||
@@ -185,7 +185,7 @@
|
||||
<option name="toggle_window_shaded_key" type="key">
|
||||
<_short>Toggle Window Shaded</_short>
|
||||
<_long>Toggle active window shaded</_long>
|
||||
- <default><Control><Alt>s</default>
|
||||
+ <default><Primary><Alt>s</default>
|
||||
</option>
|
||||
<option name="slow_animations_key" type="key">
|
||||
<_short>Slow Animations</_short>
|
||||
diff -upr compiz-0.8.8-orig/metadata/core.xml.in.in compiz-0.8.8/metadata/core.xml.in.in
|
||||
--- compiz-0.8.8-orig/metadata/core.xml.in.in 2010-05-21 13:18:14.000000000 +0200
|
||||
+++ compiz-0.8.8/metadata/core.xml.in.in 2013-02-10 23:22:41.956567990 +0100
|
||||
@@ -108,7 +120,7 @@
|
||||
<option name="raise_window_button" type="button">
|
||||
<_short>Raise Window</_short>
|
||||
<_long>Raise window above other windows</_long>
|
||||
- <default><Control>Button6</default>
|
||||
+ <default><Primary>Button6</default>
|
||||
</option>
|
||||
<option name="lower_window_key" type="key">
|
||||
<_short>Lower Window</_short>
|
||||
@@ -159,7 +171,7 @@
|
||||
<option name="show_desktop_key" type="key">
|
||||
<_short>Show Desktop</_short>
|
||||
<_long>Hide all windows and focus desktop</_long>
|
||||
- <default><Control><Alt>d</default>
|
||||
+ <default><Primary><Alt>d</default>
|
||||
</option>
|
||||
<option name="show_desktop_edge" type="edge">
|
||||
<_short>Show Desktop</_short>
|
||||
@@ -185,7 +197,7 @@
|
||||
<option name="toggle_window_shaded_key" type="key">
|
||||
<_short>Toggle Window Shaded</_short>
|
||||
<_long>Toggle active window shaded</_long>
|
||||
- <default><Control><Alt>s</default>
|
||||
+ <default><Primary><Alt>s</default>
|
||||
</option>
|
||||
<option name="slow_animations_key" type="key">
|
||||
<_short>Slow Animations</_short>
|
||||
diff -upr compiz-0.8.8-orig/metadata/cube.xml.in compiz-0.8.8/metadata/cube.xml.in
|
||||
--- compiz-0.8.8-orig/metadata/cube.xml.in 2010-05-21 13:18:14.000000000 +0200
|
||||
+++ compiz-0.8.8/metadata/cube.xml.in 2013-02-10 22:27:17.001397970 +0100
|
||||
@@ -16,7 +16,7 @@
|
||||
<option name="unfold_key" type="key">
|
||||
<_short>Unfold</_short>
|
||||
<_long>Unfold cube</_long>
|
||||
- <default><Control><Alt>Down</default>
|
||||
+ <default><Primary><Alt>Down</default>
|
||||
</option>
|
||||
<option name="next_slide_key" type="key">
|
||||
<_short>Next Slide</_short>
|
||||
diff -upr compiz-0.8.8-orig/metadata/rotate.xml.in compiz-0.8.8/metadata/rotate.xml.in
|
||||
--- compiz-0.8.8-orig/metadata/rotate.xml.in 2010-05-21 13:18:14.000000000 +0200
|
||||
+++ compiz-0.8.8/metadata/rotate.xml.in 2013-02-10 22:30:15.244159968 +0100
|
||||
@@ -46,12 +46,12 @@
|
||||
<option name="initiate_button" type="button">
|
||||
<_short>Initiate</_short>
|
||||
<_long>Start Rotation</_long>
|
||||
- <default><Control><Alt>Button1</default>
|
||||
+ <default><Primary><Alt>Button1</default>
|
||||
</option>
|
||||
<option name="rotate_left_key" type="key">
|
||||
<_short>Rotate Left</_short>
|
||||
<_long>Rotate left</_long>
|
||||
- <default><Control><Alt>Left</default>
|
||||
+ <default><Primary><Alt>Left</default>
|
||||
</option>
|
||||
<option name="rotate_left_button" type="button">
|
||||
<_short>Rotate Left</_short>
|
||||
@@ -60,7 +60,7 @@
|
||||
<option name="rotate_right_key" type="key">
|
||||
<_short>Rotate Right</_short>
|
||||
<_long>Rotate right</_long>
|
||||
- <default><Control><Alt>Right</default>
|
||||
+ <default><Primary><Alt>Right</default>
|
||||
</option>
|
||||
<option name="rotate_right_button" type="button">
|
||||
<_short>Rotate Right</_short>
|
||||
@@ -69,7 +69,7 @@
|
||||
<option name="rotate_left_window_key" type="key">
|
||||
<_short>Rotate Left with Window</_short>
|
||||
<_long>Rotate left and bring active window along</_long>
|
||||
- <default><Control><Alt><Shift>Left</default>
|
||||
+ <default><Primary><Alt><Shift>Left</default>
|
||||
</option>
|
||||
<option name="rotate_left_window_button" type="button">
|
||||
<_short>Rotate Left with Window</_short>
|
||||
@@ -78,7 +78,7 @@
|
||||
<option name="rotate_right_window_key" type="key">
|
||||
<_short>Rotate Right with Window</_short>
|
||||
<_long>Rotate right and bring active window along</_long>
|
||||
- <default><Control><Alt><Shift>Right</default>
|
||||
+ <default><Primary><Alt><Shift>Right</default>
|
||||
</option>
|
||||
<option name="rotate_right_window_button" type="button">
|
||||
<_short>Rotate Right with Window</_short>
|
||||
diff -upr compiz-0.8.8-orig/metadata/switcher.xml.in compiz-0.8.8/metadata/switcher.xml.in
|
||||
--- compiz-0.8.8-orig/metadata/switcher.xml.in 2010-05-21 13:18:14.000000000 +0200
|
||||
+++ compiz-0.8.8/metadata/switcher.xml.in 2013-02-10 22:31:03.864642625 +0100
|
||||
@@ -31,7 +31,7 @@
|
||||
<option name="next_all_key" type="key">
|
||||
<_short>Next window (All windows)</_short>
|
||||
<_long>Popup switcher if not visible and select next window out of all windows</_long>
|
||||
- <default><Control><Alt>Tab</default>
|
||||
+ <default><Primary><Alt>Tab</default>
|
||||
</option>
|
||||
<option name="prev_all_button" type="button">
|
||||
<_short>Prev window (All windows)</_short>
|
||||
@@ -40,7 +40,7 @@
|
||||
<option name="prev_all_key" type="key">
|
||||
<_short>Prev window (All windows)</_short>
|
||||
<_long>Popup switcher if not visible and select previous window out of all windows</_long>
|
||||
- <default><Shift><Control><Alt>Tab</default>
|
||||
+ <default><Shift><Primary><Alt>Tab</default>
|
||||
</option>
|
||||
<option name="next_no_popup_button" type="button">
|
||||
<_short>Next window (No popup)</_short>
|
||||
diff -upr compiz-0.8.8-orig/metadata/water.xml.in compiz-0.8.8/metadata/water.xml.in
|
||||
--- compiz-0.8.8-orig/metadata/water.xml.in 2010-05-21 13:18:14.000000000 +0200
|
||||
+++ compiz-0.8.8/metadata/water.xml.in 2013-02-10 22:31:20.369806613 +0100
|
||||
@@ -13,7 +13,7 @@
|
||||
<option name="initiate_key" type="key">
|
||||
<_short>Initiate</_short>
|
||||
<_long>Enable pointer water effects</_long>
|
||||
- <default><Control><Super></default>
|
||||
+ <default><Primary><Super></default>
|
||||
</option>
|
||||
<option name="toggle_rain_key" type="key">
|
||||
<_short>Toggle rain</_short>
|
||||
diff -upr compiz-0.8.8-orig/src/option.c compiz-0.8.8/src/option.c
|
||||
--- compiz-0.8.8-orig/src/option.c 2010-05-21 13:18:14.000000000 +0200
|
||||
+++ compiz-0.8.8/src/option.c 2013-02-10 17:54:28.257428457 +0100
|
||||
@@ -36,7 +36,7 @@ struct _Modifier {
|
||||
int modifier;
|
||||
} modifiers[] = {
|
||||
{ "<Shift>", ShiftMask },
|
||||
- { "<Control>", ControlMask },
|
||||
+ { "<Primary>", ControlMask },
|
||||
{ "<Mod1>", Mod1Mask },
|
||||
{ "<Mod2>", Mod2Mask },
|
||||
{ "<Mod3>", Mod3Mask },
|
Loading…
Reference in New Issue
Block a user