mirror of
https://github.com/gosticks/PaperWM.git
synced 2026-10-04 19:46:53 +00:00
Sync clone position before animation if the WindowActor is visible
This commit is contained in:
@@ -960,6 +960,11 @@ function move(meta_window, space,
|
||||
let buffer = meta_window.get_buffer_rect();
|
||||
let frame = meta_window.get_frame_rect();
|
||||
let clone = meta_window.clone;
|
||||
let monitor = space.monitor;
|
||||
|
||||
if (actor.visible) {
|
||||
clone.set_position(actor.x - monitor.x, actor.y - monitor.y);
|
||||
}
|
||||
|
||||
clone.show();
|
||||
actor.hide();
|
||||
|
||||
Reference in New Issue
Block a user