about summary refs log tree commit diff
path: root/exwm-manage.el
diff options
context:
space:
mode:
authorChris Feng <chris.w.feng@gmail.com>2015-08-27T03·03+0800
committerChris Feng <chris.w.feng@gmail.com>2015-08-27T03·03+0800
commit5f9f6737912f2a18f7adfff8c6f3ef8162ca52f1 (patch)
tree9c3a59f8ca6bcddd72871a7b5207ed9a993fbb88 /exwm-manage.el
parentbb4ebde55b3bdd903cfc3bcaba3001957763c83d (diff)
Fix window size calculations
* When sending the synthetic ConfigureNotify event, make sure we are dealing
  with the correct Emacs window
* When managing a floating window, ensure it can be easily pick up by the user
Diffstat (limited to 'exwm-manage.el')
-rw-r--r--exwm-manage.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/exwm-manage.el b/exwm-manage.el
index 0fde4d40611a..e7134fe6712d 100644
--- a/exwm-manage.el
+++ b/exwm-manage.el
@@ -289,7 +289,7 @@ corresponding buffer.")
                             (frame-pixel-height exwm-workspace--current))
                     (or exwm--floating-edges
                         (window-inside-absolute-pixel-edges
-                         (get-buffer-window)))))
+                         (get-buffer-window buffer t)))))
             (exwm--log "Reply with ConfigureNotify (edges): %s" edges)
             (xcb:+request exwm--connection
                 (make-instance 'xcb:SendEvent