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

Function toggleScratchWindow

scratch.js:179–185  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

177}
178
179export function toggleScratchWindow() {
180 let focus = global.display.focus_window;
181 if (isScratchWindow(focus))
182 hide();
183 else
184 show(true);
185}
186
187export function show(top) {
188 let windows = getScratchWindows();

Callers

nothing calls this directly

Calls 3

isScratchWindowFunction · 0.85
hideFunction · 0.85
showFunction · 0.85

Tested by

no test coverage detected