function always_on_top() {
  const window = global.display.focus_window;
  if (window !== null) {
    if (window.above) {
      window.unmake_above();
    } else {
      window.make_above();
    }

    if (mode !== Mode.LIGHT) {
      update_always_on_top_toggle();
    }
  }
}
// Grabs the focus window and toggles its always-on-top state.
Grabs the focus window and toggles its always-on-top state.
Grabs the focus window and toggles its always - on - top state .
function always_on_top() {
  const window = global.display.focus_window;
  if (window !== null) {
    if (window.above) {
      window.unmake_above();
    } else {
      window.make_above();
    }
    if (mode !== Mode.LIGHT) {
      update_always_on_top_toggle();
    }
  }
}
function always_on_top ( ) { const window = global . display . focus_window ; if ( window !== null ) { if ( window . above ) { window . unmake_above ( ) ; } else { window . make_above ( ) ; } if ( mode !== Mode . LIGHT ) { update_always_on_top_toggle ( ) ; } } }
Grabs the focus window and toggles its always-on-top state.
Grabs the focus window and toggles its always - on - top state .