summaryrefslogtreecommitdiff
path: root/compat
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 /compat
parent9c1c2e3db0db7ffde3668aacaf81919fd829adeb (diff)
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 'compat')
-rw-r--r--compat/xfree8615
1 files changed, 9 insertions, 6 deletions
diff --git a/compat/xfree86 b/compat/xfree86
index cf4a8b22..52e661dc 100644
--- a/compat/xfree86
+++ b/compat/xfree86
@@ -41,12 +41,6 @@ default partial xkb_compatibility "basic" {
action = SwitchScreen(Screen=12, !SameServer);
};
- interpret XF86_Ungrab {
- action = Private(type=0x86, data="Ungrab");
- };
- interpret XF86_ClearGrab {
- action = Private(type=0x86, data="ClsGrb");
- };
interpret XF86LogGrabInfo {
action = Private(type=0x86, data="PrGrbs");
};
@@ -61,3 +55,12 @@ default partial xkb_compatibility "basic" {
action = Private(type=0x86, data="-VMode");
};
};
+
+partial xkb_compatibility "grab_break" {
+ interpret XF86_Ungrab {
+ action = Private(type=0x86, data="Ungrab");
+ };
+ interpret XF86_ClearGrab {
+ action = Private(type=0x86, data="ClsGrb");
+ };
+};