about summary refs log tree commit diff
diff options
context:
space:
mode:
authorChris Feng <chris.w.feng@gmail.com>2017-02-05T09·51+0800
committerChris Feng <chris.w.feng@gmail.com>2017-02-05T09·51+0800
commitd69e7075ad1198034b0ea3264e0159373375a0a9 (patch)
tree9a0cd64d966850965b0b3e62b4dcbed12e270e71
parentf221f837cb1e38e00fdbe54d25301c09d77c7ae9 (diff)
Add a menu entry to `exwm-mode-map'
* exwm-core.el (exwm-mode-menu): Add a menu entry for closing X windows.
-rw-r--r--exwm-core.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/exwm-core.el b/exwm-core.el
index ef54773b7765..8fc1a73dc799 100644
--- a/exwm-core.el
+++ b/exwm-core.el
@@ -180,6 +180,7 @@
     ["Toggle floating" exwm-floating-toggle-floating]
     ["Toggle fullscreen mode" exwm-layout-toggle-fullscreen]
     ["Hide window" exwm-floating-hide exwm--floating-frame]
+    ["Close window" (kill-buffer (current-buffer))]
 
     "---"
     "*Resizing*"