function always_on_visible_workspace() {
  const window = global.display.focus_window;
  if (window !== null) {
    if (window.on_all_workspaces) {
      window.unstick();
    } else {
      window.stick();
    }

    if (mode !== Mode.LIGHT) {
      update_always_on_visible_workspace_toggle();
    }
  }
}
// Grabs the focus window and toggles its always-on-visible-workspace state.
Grabs the focus window and toggles its always-on-visible-workspace state.
Grabs the focus window and toggles its always - on - visible - workspace state .
function always_on_visible_workspace() {
  const window = global.display.focus_window;
  if (window !== null) {
    if (window.on_all_workspaces) {
      window.unstick();
    } else {
      window.stick();
    }
    if (mode !== Mode.LIGHT) {
      update_always_on_visible_workspace_toggle();
    }
  }
}
function always_on_visible_workspace ( ) { const window = global . display . focus_window ; if ( window !== null ) { if ( window . on_all_workspaces ) { window . unstick ( ) ; } else { window . stick ( ) ; } if ( mode !== Mode . LIGHT ) { update_always_on_visible_workspace_toggle ( ) ; } } }
Grabs the focus window and toggles its always-on-visible-workspace state.
Grabs the focus window and toggles its always - on - visible - workspace state .