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

Method removeFloating

tiling.js:1046–1054  ·  view source on GitHub ↗
(metaWindow)

Source from the content-addressed store, hash-verified

1044 }
1045
1046 removeFloating(metaWindow) {
1047 let i = this._floating.indexOf(metaWindow);
1048 if (i === -1)
1049 return false;
1050 this._floating.splice(i, 1);
1051 // this.actor.remove_child(metaWindow.clone);
1052 Utils.actor_remove_child(this.actor, metaWindow.clone);
1053 return true;
1054 }
1055
1056 /**
1057 * Returns true iff this space has a currently fullscreened window.

Callers 1

removeWindowMethod · 0.95

Calls 1

indexOfMethod · 0.80

Tested by

no test coverage detected