summaryrefslogtreecommitdiff
path: root/rules
diff options
context:
space:
mode:
authorDaniel Stone <daniel@fooishbar.org>2012-01-19 16:36:16 +1100
committerSergey V. Udaltsov <svu@gnome.org>2012-01-19 23:27:04 +0000
commitdc55259e52ef034e568a50beb43a80b3595e49e4 (patch)
tree024b290fd4aac749bd42baa3d3594387514dbbf3 /rules
parent9c1c2e3db0db7ffde3668aacaf81919fd829adeb (diff)
downloadxkeyboard-config-dc55259e52ef034e568a50beb43a80b3595e49e4.tar.gz
xkeyboard-config-dc55259e52ef034e568a50beb43a80b3595e49e4.tar.bz2
xkeyboard-config-dc55259e52ef034e568a50beb43a80b3595e49e4.zip
Hide ClearGrab/CloseGrabs actions behind an option
Similar to how we put the Terminate mapping behind an option rather than enabling it by default, put the ClearGrab/CloseGrab action handlers behind an option too, so we don't ship 'break my screensaver'. Oops. Signed-off-by: Daniel Stone <daniel@fooishbar.org>
Diffstat (limited to 'rules')
-rw-r--r--rules/base.o_c.part1
-rw-r--r--rules/base.xml.in6
2 files changed, 7 insertions, 0 deletions
diff --git a/rules/base.o_c.part b/rules/base.o_c.part
index 352f8b36..b80ab6d3 100644
--- a/rules/base.o_c.part
+++ b/rules/base.o_c.part
@@ -3,4 +3,5 @@
grp_led:scroll = +ledscroll(group_lock)
japan:kana_lock = +japan(kana_lock)
caps:shiftlock = +ledcaps(shift_lock)
+ grab:break_actions = +xfree86(grab_break)
diff --git a/rules/base.xml.in b/rules/base.xml.in
index 22b720f2..6c17faaf 100644
--- a/rules/base.xml.in
+++ b/rules/base.xml.in
@@ -6278,6 +6278,12 @@
<_description>Toggle PointerKeys with Shift + NumLock.</_description>
</configItem>
</option>
+ <option>
+ <configItem>
+ <name>grab:break_actions</name>
+ <_description>Allow breaking grabs with keyboard actions (warning: security risk)</_description>
+ </configItem>
+ </option>
</group>
<group allowMultipleSelection="true">
<!-- Special shortcuts for the Euro character -->