diff options
author | Mathieu Boespflug <mboes@cs.mcgill.ca> | 2012-12-02 12:49:30 -0500 |
---|---|---|
committer | Sergey V. Udaltsov <svu@gnome.org> | 2012-12-23 21:36:31 +0000 |
commit | 1a751933e080eceedb68004958620b5d923355b1 (patch) | |
tree | 8342327314727a74a974a7d140117c0e6bc7dc0c /symbols | |
parent | 1d3707416b4efd305b248af20ed3d79420a52690 (diff) |
Add altwin:swap_alt_win option.
This replaces the existing option altwin:swap_lalt_lwin.
https://bugs.freedesktop.org/show_bug.cgi?id=57813
Diffstat (limited to 'symbols')
-rw-r--r-- | symbols/altwin | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/symbols/altwin b/symbols/altwin index 92599128..f7578b49 100644 --- a/symbols/altwin +++ b/symbols/altwin @@ -72,8 +72,21 @@ xkb_symbols "alt_super_win" { }; partial modifier_keys +xkb_symbols "swap_alt_win" { + include "altwin(swap_lalt_lwin)" + include "altwin(swap_ralt_rwin)" +}; + +partial hidden modifier_keys xkb_symbols "swap_lalt_lwin" { key <LALT> { type[Group1] = "ONE_LEVEL", symbols[Group1] = [ Super_L ] }; key <LWIN> { [ Alt_L, Meta_L ] }; }; + +partial hidden modifier_keys +xkb_symbols "swap_ralt_rwin" { + key <RALT> { type[Group1] = "ONE_LEVEL", + symbols[Group1] = [ Super_R ] }; + key <RWIN> { [ Alt_R, Meta_R ] }; +}; |