Skip to content

Commit ffece2a

Browse files
committed
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>
1 parent 6203779 commit ffece2a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/core/keybindings.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3419,6 +3419,10 @@ handle_workspace_switch_or_move (MetaDisplay *display,
34193419

34203420
g_assert (motion < 0);
34213421

3422+
/* Don't show the ws switcher if we get just one ws */
3423+
if (meta_screen_get_n_workspaces(screen) == 1)
3424+
return;
3425+
34223426
meta_topic (META_DEBUG_KEYBINDINGS,
34233427
"Starting tab between workspaces, showing popup\n");
34243428

0 commit comments

Comments
 (0)