From 5a39c5c2fad643a656c59c0071f0cbea58eb65a9 Mon Sep 17 00:00:00 2001 From: Chris Feng Date: Thu, 25 Feb 2016 12:41:35 +0800 Subject: 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. --- exwm-core.el | 1 + 1 file changed, 1 insertion(+) (limited to 'exwm-core.el') diff --git a/exwm-core.el b/exwm-core.el index 5377c6766f96..e202d4ee47b7 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) -- cgit 1.4.1