mirror of
https://github.com/ch11ng/exwm.git
synced 2024-11-27 04:58:00 +01:00
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.
This commit is contained in:
parent
3420cd24d1
commit
4795fad70b
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue