summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/core/keybindings.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/keybindings.c b/src/core/keybindings.c
index 5eee03ee..4183f7e1 100644
--- a/src/core/keybindings.c
+++ b/src/core/keybindings.c
@@ -3419,6 +3419,10 @@ handle_workspace_switch_or_move (MetaDisplay *display,
g_assert (motion < 0);
+ /* Don't show the ws switcher if we get just one ws */
+ if (meta_screen_get_n_workspaces(screen) == 1)
+ return;
+
meta_topic (META_DEBUG_KEYBINDINGS,
"Starting tab between workspaces, showing popup\n");