From 3d2333a7624db7c048167bd2f5ca3e2579163f41 Mon Sep 17 00:00:00 2001 From: Andy Stewart Date: Fri, 14 Feb 2020 22:07:37 +0800 Subject: [PATCH] Disable cursor shape in eaf buffer, avoid cursor shape over top of Web page. --- eaf.el | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/eaf.el b/eaf.el index bed831f..fe79651 100644 --- a/eaf.el +++ b/eaf.el @@ -149,9 +149,10 @@ been initialized." (setq-local window-combination-resize t) (set (make-local-variable 'eaf--buffer-id) (eaf--generate-id)) (setq-local bookmark-make-record-function #'eaf--bookmark-make-record) - ;; copy default value in case user already has bindings there - (setq-local emulation-mode-map-alists - (default-value 'emulation-mode-map-alists)) + ;; Copy default value in case user already has bindings there + (setq-local emulation-mode-map-alists (default-value 'emulation-mode-map-alists)) + ;; Disable cursor in eaf buffer. + (setq-local cursor-type nil) (push (list (cons t eaf-mode-map)) emulation-mode-map-alists) (add-hook 'kill-buffer-hook #'eaf--monitor-buffer-kill nil t)