Skip to content

Commit

Permalink
Fix floating window width increase when moving to workspace
Browse files Browse the repository at this point in the history
* 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.
  • Loading branch information
daviwil committed Nov 12, 2019
1 parent 3420cd2 commit d3ab8fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exwm-workspace.el
Expand Up @@ -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
Expand Down

0 comments on commit d3ab8fb

Please sign in to comment.