From 950459d36e66ce18793359b323b16bcaeb7f5f34 Mon Sep 17 00:00:00 2001
From: Ivica Ico Bukvic <ico@vt.edu>
Date: Wed, 1 Aug 2012 14:42:34 -0400
Subject: [PATCH] fixed regression with shift+left/right moving of selected
 objects

---
 src/g_editor.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/g_editor.c b/src/g_editor.c
index 26f8f5619..d159bf1c4 100644
--- a/src/g_editor.c
+++ b/src/g_editor.c
@@ -3532,11 +3532,11 @@ void canvas_key(t_canvas *x, t_symbol *s, int ac, t_atom *av)
 		        canvas_displaceselection(x, 0, shift ? 10 : 1);
 				sys_vgui("pdtk_canvas_getscroll .x%lx.c\n", x);
 			}
-		    else if (!strcmp(gotkeysym->s_name, "Left")) {
+		    else if (!strcmp(gotkeysym->s_name, "Left") || !strcmp(gotkeysym->s_name, "ShiftLeft")) {
 		        canvas_displaceselection(x, shift ? -10 : -1, 0);
 				sys_vgui("pdtk_canvas_getscroll .x%lx.c\n", x);
 			}
-		    else if (!strcmp(gotkeysym->s_name, "Right")) {
+		    else if (!strcmp(gotkeysym->s_name, "Right") || !strcmp(gotkeysym->s_name, "ShiftRight")) {
 		        canvas_displaceselection(x, shift ? 10 : 1, 0);
 				sys_vgui("pdtk_canvas_getscroll .x%lx.c\n", x);
 			}
-- 
GitLab