Add a straightforward interpretation of the window action key, combined
with the delete key.  Also add a shifted version, which does Destroy.
---
 bindings           |    2 ++
 bindings-functions |    4 ++++
 2 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/bindings b/bindings
index 7d03a7a..8866eb9 100644
--- a/bindings
+++ b/bindings
@@ -223,6 +223,8 @@ FuncKeyCompositorWinCmd x  AFuncScaleFullScreen
 
 # Normal window operation
 FuncKeyWindowWinCmd F4 "Close"
+FuncKeyWindowWinCmd Delete "Close"
+FuncKeyWindowWinShiftCmd Delete "Destroy"
 FuncKeyWindowWinCmd F5 "RaiseLower"
 FuncKeyWindowWinCmd F6 "AFuncRestore"
 FuncKeyWindowWinCmd F7 "AFuncMove"
diff --git a/bindings-functions b/bindings-functions
index 5ca820d..c3c7dcb 100644
--- a/bindings-functions
+++ b/bindings-functions
@@ -61,6 +61,10 @@ DestroyFunc FuncKeyWindowWinCmd
 AddToFunc   FuncKeyWindowWinCmd
 + I Key $0 WSTF123456789 M $1
 
+DestroyFunc FuncKeyWindowWinShiftCmd
+AddToFunc   FuncKeyWindowWinShiftCmd
++ I Key $0 WSTF123456789 MS $1
+
 # As above for global key binding (page switching), replace
 # CM by 4CM for example
 DestroyFunc AFuncPointerKeyGlobalCmd
-- 
debian.1.5.6.1

_______________________________________________
Metisse mailing list
[email protected]
http://lists.lri.fr/mailman/listinfo/metisse

Reply via email to