From d3ab8fb7c001c75a65bbe59a9e03400d8dd51db7 Mon Sep 17 00:00:00 2001 From: David Wilson Date: Tue, 12 Nov 2019 05:31:32 -0800 Subject: [PATCH] Fix floating window width increase when moving to workspace * exwm-workspace.el (exwm-workspace-move-window): Deduct 1 pixel from `frame-pixel-width' of `old-frame' when moving a floating window to another workspace. This prevents the floating window from growing in width over repeated moves. --- exwm-workspace.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exwm-workspace.el b/exwm-workspace.el index 705da30..bf8655c 100644 --- a/exwm-workspace.el +++ b/exwm-workspace.el @@ -938,7 +938,7 @@ INDEX must not exceed the current number of workspaces." (set-frame-parameter new-frame 'exwm-container container) (make-frame-invisible new-frame) (set-frame-size new-frame - (frame-pixel-width old-frame) + (- (frame-pixel-width old-frame) 1) (frame-pixel-height old-frame) t) (xcb:+request exwm--connection