branch: externals/gpastel
commit ae11a0ae58577321605c338809fc5ae29b38fc72
Author: Damien Cassou <[email protected]>
Commit: Damien Cassou <[email protected]>

    Update snippet in README to force the focus
---
 README.org | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/README.org b/README.org
index ba1909b..a53bd7e 100644
--- a/README.org
+++ b/README.org
@@ -84,6 +84,8 @@ Add the following to your initialization file:
            (yank-pop-change-selection t))
        (call-interactively #'counsel-yank-pop))
      (when (derived-mode-p 'exwm-mode)
+       ;; https://github.com/ch11ng/exwm/issues/413#issuecomment-386858496
+       (exwm-input--set-focus (exwm--buffer->id (window-buffer 
(selected-window))))
        (exwm-input--fake-key ?\C-v)))
  #+END_SRC
 

Reply via email to