mirror of
https://github.com/gosticks/PaperWM.git
synced 2026-08-12 20:20:29 +00:00
layout: better tween guard
Turning off fullscreen would desync `c.targetY` and `c.y`. Simply make the guard robust by making sure they are synced before foregoing tweening. This should work better than making sure that we're always syncing the target everywhere. We also shouldn't need to tween when `widthChanged`, if the clone doesn't move we should be able to activate the window. If the layout initiates a scroll `moveDone` won't activate any windows anyways.
This commit is contained in:
Reference in New Issue
Block a user