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

Function hasTransient

tiling.js:3381–3391  ·  view source on GitHub ↗
(metaWindow)

Source from the content-addressed store, hash-verified

3379 * @returns
3380 */
3381export function hasTransient(metaWindow) {
3382 if (!metaWindow) {
3383 return false;
3384 }
3385 let hasTransient = false;
3386 metaWindow.foreach_transient(_t => {
3387 hasTransient = true;
3388 });
3389
3390 return hasTransient;
3391}
3392
3393/**
3394 * Conveniece method for checking if a window is floating.

Callers 1

updateSelectionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected