diff --git a/exwm-layout.el b/exwm-layout.el index 7e36864..0a5c5ff 100644 --- a/exwm-layout.el +++ b/exwm-layout.el @@ -117,6 +117,8 @@ See variable `exwm-layout-auto-iconify'." (width (- (pop edges) x)) (height (- (pop edges) y)) frame-x frame-y frame-width frame-height) + (when (eval-when-compile (< emacs-major-version 31)) + (setq y (+ y (window-tab-line-height window)))) (with-current-buffer (exwm--id->buffer id) (when exwm--floating-frame (setq frame-width (frame-pixel-width exwm--floating-frame)