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

Method getWindowAtPoint

tiling.js:900–908  ·  view source on GitHub ↗
(x, y)

Source from the content-addressed store, hash-verified

898 }
899
900 getWindowAtPoint(x, y) {
901 for (let column of this) {
902 for (let w of column) {
903 if (this.isWindowAtPoint(w, x, y))
904 return w;
905 }
906 }
907 return null;
908 }
909
910 addWindow(metaWindow, index, row) {
911 if (!this.selectedWindow)

Callers 2

createBackgroundMethod · 0.95

Calls 1

isWindowAtPointMethod · 0.95

Tested by

no test coverage detected