function move_to_workspace_left() {
  const index = global.workspace_manager.get_active_workspace_index();
  if (index === 0) {
    return;
  }

  const window = global.display.focus_window;
  if (window !== null && !window.on_all_workspaces) {
    window.change_workspace_by_index(index - 1, false);
  }
}
// Grabs the focus window and sends it one workspace over.
Grabs the focus window and sends it one workspace over.
Grabs the focus window and sends it one workspace over .
function move_to_workspace_left() {
  const index = global.workspace_manager.get_active_workspace_index();
  if (index === 0) {
    return;
  }
  const window = global.display.focus_window;
  if (window !== null && !window.on_all_workspaces) {
    window.change_workspace_by_index(index - 1, false);
  }
}
function move_to_workspace_left ( ) { const index = global . workspace_manager . get_active_workspace_index ( ) ; if ( index === 0 ) { return ; } const window = global . display . focus_window ; if ( window !== null && ! window . on_all_workspaces ) { window . change_workspace_by_index ( index - 1 , false ) ; } }
Grabs the focus window and sends it one workspace over.
Grabs the focus window and sends it one workspace over .