MCPcopy
hub / github.com/paperwm/PaperWM / animateWindow

Function animateWindow

tiling.js:4777–4787  ·  view source on GitHub ↗
(metaWindow)

Source from the content-addressed store, hash-verified

4775}
4776
4777export function animateWindow(metaWindow) {
4778 let actor = metaWindow.get_compositor_private();
4779 if (!actor)
4780 return false;
4781 if (metaWindow.clone?.cloneActor) {
4782 metaWindow.clone.cloneActor.show();
4783 metaWindow.clone.cloneActor.source = actor;
4784 }
4785 actor.hide();
4786 return true;
4787}
4788
4789export function isWindowAnimating(metaWindow) {
4790 let clone = metaWindow.clone;

Callers 8

initMethod · 0.85
startAnimateMethod · 0.85
monitorsChangedMethod · 0.85
window_createdMethod · 0.85
connectSizeChangedFunction · 0.85
insertWindowFunction · 0.85
showHandlerFunction · 0.85
animateTakeFunction · 0.85

Calls 2

showMethod · 0.45
hideMethod · 0.45

Tested by

no test coverage detected