diff --git a/data/org.pantheon.desktop.gala.gschema.xml.in b/data/org.pantheon.desktop.gala.gschema.xml.in
index 591cea4a..63f20594 100644
--- a/data/org.pantheon.desktop.gala.gschema.xml.in
+++ b/data/org.pantheon.desktop.gala.gschema.xml.in
@@ -9,6 +9,7 @@
+
diff --git a/lib/WindowManager.vala b/lib/WindowManager.vala
index 8600f4da..e54b5bf7 100644
--- a/lib/WindowManager.vala
+++ b/lib/WindowManager.vala
@@ -26,7 +26,8 @@ namespace Gala
OPEN_LAUNCHER,
CUSTOM_COMMAND,
WINDOW_OVERVIEW,
- WINDOW_OVERVIEW_ALL
+ WINDOW_OVERVIEW_ALL,
+ SWITCH_TO_WORKSPACE_LAST
}
/**
diff --git a/src/WindowManager.vala b/src/WindowManager.vala
index 8eff9761..789c358c 100644
--- a/src/WindowManager.vala
+++ b/src/WindowManager.vala
@@ -684,6 +684,10 @@ namespace Gala
window_overview.open (hints);
}
break;
+ case ActionType.SWITCH_TO_WORKSPACE_LAST:
+ var workspace = screen.get_workspace_by_index (screen.get_n_workspaces () - 1);
+ workspace.activate (display.get_current_time ());
+ break;
default:
warning ("Trying to run unknown action");
break;