about summary refs log tree commit diff
path: root/exwm-core.el
diff options
context:
space:
mode:
authorChris Feng <chris.w.feng@gmail.com>2016-02-25T04·41+0800
committerChris Feng <chris.w.feng@gmail.com>2016-02-25T04·41+0800
commit5a39c5c2fad643a656c59c0071f0cbea58eb65a9 (patch)
treeaf24cdcbef91cc0bd08fcf65696a048aea1353cb /exwm-core.el
parentdb6d26c662a750b273e1bbc06902a2a46e101e4c (diff)
Allow user to hide floating X windows
* exwm-core.el (exwm-mode-map): Add a new key to hide floating X windows.
* exwm-floating.el (exwm-floating-hide): New command to hide a floating X
window.

* exwm-workspace.el: Fix a compile warning.
Diffstat (limited to 'exwm-core.el')
-rw-r--r--exwm-core.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/exwm-core.el b/exwm-core.el
index 5377c6766f..e202d4ee47 100644
--- a/exwm-core.el
+++ b/exwm-core.el
@@ -121,6 +121,7 @@
 (defvar exwm-mode-map
   (let ((map (make-sparse-keymap)))
     (define-key map "\C-c\C-f" #'exwm-layout-set-fullscreen)
+    (define-key map "\C-c\C-h" #'exwm-floating-hide)
     (define-key map "\C-c\C-k" #'exwm-input-release-keyboard)
     (define-key map "\C-c\C-m" #'exwm-workspace-move-window)
     (define-key map "\C-c\C-q" #'exwm-input-send-next-key)