branch: externals/exwm
commit 908ccbca78f24a050a1d49adafc1f5164b860e45
Author: Steven Allen <[email protected]>
Commit: Steven Allen <[email protected]>
exwm-manage: Fix workarea edges in ConfigureRequest handler
The previous code works for a single monitor, but not for multiple
monitors where x and y are non-zero.
* exwm-manage.el (exwm-manage--on-ConfigureRequest): Use the correct
edges when configuring fullscreen windows.
---
exwm-manage.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/exwm-manage.el b/exwm-manage.el
index 477447907e..26c85bb002 100644
--- a/exwm-manage.el
+++ b/exwm-manage.el
@@ -681,7 +681,7 @@ border-width: %d; sibling: #x%x; stack-mode: %d"
(if (exwm-layout--fullscreen-p)
(with-slots (x y width height)
(exwm-workspace--get-geometry exwm--frame)
- (list x y width height))
+ (list x y (+ x width) (+ y height)))
(exwm--window-inside-absolute-pixel-edges
(get-buffer-window buffer t))))
(exwm--log "Reply with ConfigureNotify (edges): %s" edges)