diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2012-01-20 12:43:19 +1000 |
---|---|---|
committer | Sergey Udaltsov <sergey.udaltsov@gmail.com> | 2013-12-17 22:15:59 +0000 |
commit | f26d143cfdb5c69fef33cddffe6c2e0b8b1debd8 (patch) | |
tree | c9731a015d389065435ade89a86def08dae03288 | |
parent | ec875f6f9b7c4028e11d32b071989c682e6502bd (diff) | |
download | xkeyboard-config-f26d143cfdb5c69fef33cddffe6c2e0b8b1debd8.tar.gz |
rules: add option grab:debug
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-rw-r--r-- | rules/base.o_s.part | 1 | ||||
-rw-r--r-- | rules/base.xml.in | 6 | ||||
-rw-r--r-- | symbols/srvr_ctrl | 15 |
3 files changed, 22 insertions, 0 deletions
diff --git a/rules/base.o_s.part b/rules/base.o_s.part index 35b6ef3..a31556b 100644 --- a/rules/base.o_s.part +++ b/rules/base.o_s.part @@ -8,6 +8,7 @@ altwin:hyper_win = +altwin(hyper_win) altwin:alt_super_win = +altwin(alt_super_win) altwin:swap_alt_win = +altwin(swap_alt_win) + grab:debug = +srvr_ctrl(grab_debug) grp:switch = +group(switch) grp:lswitch = +group(lswitch) grp:win_switch = +group(win_switch) diff --git a/rules/base.xml.in b/rules/base.xml.in index 1c75531..853b34a 100644 --- a/rules/base.xml.in +++ b/rules/base.xml.in @@ -6532,6 +6532,12 @@ <_description>Allow breaking grabs with keyboard actions (warning: security risk)</_description> </configItem> </option> + <option> + <configItem> + <name>grab:debug_actions</name> + <_description>Allow grab and window tree logging</_description> + </configItem> + </option> </group> <group allowMultipleSelection="true"> <!-- Special shortcuts for the Euro character --> diff --git a/symbols/srvr_ctrl b/symbols/srvr_ctrl index 52b4eb9..b1931db 100644 --- a/symbols/srvr_ctrl +++ b/symbols/srvr_ctrl @@ -94,3 +94,18 @@ xkb_symbols "no_srvr_keys" { key <KPSU> { [ KP_Subtract, KP_Subtract ] }; key <KPAD> { [ KP_Add, KP_Add ] }; }; + +partial function_keys +xkb_symbols "grab_debug" { + + key <FK11> { + type="CTRL+ALT", + symbols[Group1]= [ F11, F11, F11, F11, XF86LogGrabInfo ] + }; + + key <FK12> { + type="CTRL+ALT", + symbols[Group1]= [ F12, F12, F12, F12, XF86LogWindowTree ] + }; + +}; |