MCPcopy Index your code
hub / github.com/paperwm/PaperWM / activate

Method activate

tiling.js:462–470  ·  view source on GitHub ↗

* Activates this space. Safer alternative to space.workspace.activate. Also allows * setting animation on workspaceSwitch. * @param {Boolean} animate

(defaultAnimation = true, paperwmAnimation = false)

Source from the content-addressed store, hash-verified

460 * @param {Boolean} animate
461 */
462 activate(defaultAnimation = true, paperwmAnimation = false) {
463 spaces.space_defaultAnimation = defaultAnimation;
464 spaces.space_paperwmAnimation = paperwmAnimation;
465
466 this.workspace.activate(global.get_current_time());
467
468 spaces.space_defaultAnimation = true;
469 spaces.space_paperwmAnimation = false; // switch to default
470 }
471
472 /**
473 * Activates this space. Safer alternative to space.workspace.activate_with_focus. Also allows

Callers 9

destroyMethod · 0.45
activateWithFocusMethod · 0.45
switchGlobalMethod · 0.45
finishMethod · 0.45
switchMonitorMethod · 0.45
showFunction · 0.45
_onCollisionActivatedMethod · 0.45
cycleMonitorFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected