about summary refs log tree commit diff
path: root/exwm.el
diff options
context:
space:
mode:
authorChris Feng <chris.w.feng@gmail.com>2016-07-30T02·17+0800
committerChris Feng <chris.w.feng@gmail.com>2016-07-30T02·17+0800
commitd225f191a908346535cf4525a4c6c56d93a84b31 (patch)
tree6d49d092f405210658dcbd41748d93e94f2bd962 /exwm.el
parentaa7de9dc6f13b0d937fe265b64368b7be6e8798e (diff)
Fit the *Completions* buffer
* exwm-workspace.el (exwm-workspace--on-minibuffer-setup): Work around
the *Completions* buffer not getting fitted problem.

* exwm.el (exwm-enable): Enable `window-resize-pixelwise'.
Diffstat (limited to 'exwm.el')
-rw-r--r--exwm.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/exwm.el b/exwm.el
index 7de22972f081..4c156dcd23e4 100644
--- a/exwm.el
+++ b/exwm.el
@@ -679,7 +679,8 @@ This hook is only run when EXWM is started with emacsclient.")
      (dolist (i exwm-blocking-subrs)
        (advice-remove i #'exwm--server-eval-at)))
     (_                                  ;enable EXWM
-     (setq frame-resize-pixelwise t)    ;mandatory; before init
+     (setq frame-resize-pixelwise t     ;mandatory; before init
+           window-resize-pixelwise t)
      (add-hook 'window-setup-hook #'exwm-init t)          ;for Emacs
      (add-hook 'after-make-frame-functions #'exwm-init t) ;for Emacs Client
      (add-hook 'kill-emacs-hook #'exwm--server-stop)