From 5f9f6737912f2a18f7adfff8c6f3ef8162ca52f1 Mon Sep 17 00:00:00 2001 From: Chris Feng Date: Thu, 27 Aug 2015 11:03:27 +0800 Subject: 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 --- exwm-manage.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'exwm-manage.el') 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 -- cgit 1.4.1