Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
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 <didrocks@ubuntu.com>
  • Loading branch information
vkareh committed Aug 28, 2018
1 parent 6203779 commit ffece2a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/core/keybindings.c
Expand Up @@ -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");

Expand Down

0 comments on commit ffece2a

Please sign in to comment.