From ffece2a205bf6a7f1530e9e845bd6279a69effc6 Mon Sep 17 00:00:00 2001 From: Victor Kareh Date: Sun, 26 Aug 2018 16:13:55 -0400 Subject: Don't show the ws switcher if we only have one Origin: Ubuntu Bug: https://bugzilla.gnome.org/show_bug.cgi Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/metacity/+bug/506944 Author: Didier Roche --- src/core/keybindings.c | 4 ++++ 1 file changed, 4 insertions(+) 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"); -- cgit v1.2.1