summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorClément Lassieur <clement.lassieur@parrot.com>2018-10-12 16:26:44 +0200
committerClément Lassieur <clement.lassieur@parrot.com>2018-10-29 11:15:17 +0100
commit98ec727a475044d14e7b15997541ad95773435f4 (patch)
tree24369bc2f84b97a9a32d59aaff0e8b0855e2c76a
parente5f2c106d319176f63fdb39c1d0ebae163ab753a (diff)
downloadpackages-98ec727a475044d14e7b15997541ad95773435f4.tar.gz
exwm: use the title as buffer name, instead of the class
-rw-r--r--oe/oe-exwm.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/oe/oe-exwm.el b/oe/oe-exwm.el
index d7fbc1a..11ff797 100644
--- a/oe/oe-exwm.el
+++ b/oe/oe-exwm.el
@@ -146,10 +146,10 @@ the buffer that needs to be matched."
(dotimes (i oe-exwm-workspace-number)
(exwm-workspace-switch-create i))))
-;; Make class name the buffer name
-(add-hook 'exwm-update-class-hook
+;; Make title the buffer name
+(add-hook 'exwm-update-title-hook
(lambda ()
- (exwm-workspace-rename-buffer exwm-class-name)))
+ (exwm-workspace-rename-buffer exwm-title)))
;; allow the use of C-c
(define-key exwm-mode-map (kbd "C-c") nil)