WindowManager: ignore ctrl-alt-left/right

Fixes a regression introduced in de72065a

https://bugzilla.gnome.org/show_bug.cgi?id=679005
This commit is contained in:
Giovanni Campagna 2012-06-27 22:07:32 +02:00
parent e43fe98263
commit c3d3d346d4

View File

@ -588,6 +588,10 @@ const WindowManager = new Lang.Class({
let [action,,,direction] = binding.get_name().split('-');
let direction = Meta.MotionDirection[direction.toUpperCase()];
if (direction != Meta.MotionDirection.UP &&
direction != Meta.MotionDirection.DOWN)
return;
if (action == 'switch')
this.actionMoveWorkspace(direction);
else