mirror of
https://github.com/gosticks/PaperWM.git
synced 2026-10-04 19:46:53 +00:00
ensureViewport: remove pivot reset and onStart
These are no longer necessary
This commit is contained in:
@@ -765,13 +765,7 @@ function ensureViewport(meta_window, space, force) {
|
||||
space.moving = meta_window;
|
||||
move_to(space, meta_window,
|
||||
{ x, y,
|
||||
onComplete: () => {
|
||||
space.moving = false;
|
||||
// Certain gnome-shell/mutter animations expect default
|
||||
// pivot point (eg. fullscreen)
|
||||
meta_window.get_compositor_private().set_pivot_point(0, 0);
|
||||
},
|
||||
onStart:() => { meta_window.raise(); }
|
||||
onComplete: () => space.moving = false,
|
||||
});
|
||||
// Return x so we can position the minimap
|
||||
return x;
|
||||
|
||||
Reference in New Issue
Block a user