summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/core/keybindings.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/core/keybindings.c b/src/core/keybindings.c
index faf1a530..5b0000ea 100644
--- a/src/core/keybindings.c
+++ b/src/core/keybindings.c
@@ -1553,6 +1553,7 @@ process_keyboard_move_grab (MetaDisplay *display,
case XK_KP_Prior:
case XK_Up:
case XK_KP_Up:
+ case XK_k:
y -= incr;
handled = TRUE;
break;
@@ -1560,6 +1561,7 @@ process_keyboard_move_grab (MetaDisplay *display,
case XK_KP_Next:
case XK_Down:
case XK_KP_Down:
+ case XK_j:
y += incr;
handled = TRUE;
break;
@@ -1571,6 +1573,7 @@ process_keyboard_move_grab (MetaDisplay *display,
case XK_KP_End:
case XK_Left:
case XK_KP_Left:
+ case XK_h:
x -= incr;
handled = TRUE;
break;
@@ -1578,6 +1581,7 @@ process_keyboard_move_grab (MetaDisplay *display,
case XK_KP_Next:
case XK_Right:
case XK_KP_Right:
+ case XK_l:
x += incr;
handled = TRUE;
break;
@@ -1638,21 +1642,25 @@ process_keyboard_resize_grab_op_change (MetaDisplay *display,
{
case XK_Up:
case XK_KP_Up:
+ case XK_k:
display->grab_op = META_GRAB_OP_KEYBOARD_RESIZING_N;
handled = TRUE;
break;
case XK_Down:
case XK_KP_Down:
+ case XK_j:
display->grab_op = META_GRAB_OP_KEYBOARD_RESIZING_S;
handled = TRUE;
break;
case XK_Left:
case XK_KP_Left:
+ case XK_h:
display->grab_op = META_GRAB_OP_KEYBOARD_RESIZING_W;
handled = TRUE;
break;
case XK_Right:
case XK_KP_Right:
+ case XK_l:
display->grab_op = META_GRAB_OP_KEYBOARD_RESIZING_E;
handled = TRUE;
break;
@@ -1664,11 +1672,13 @@ process_keyboard_resize_grab_op_change (MetaDisplay *display,
{
case XK_Left:
case XK_KP_Left:
+ case XK_h:
display->grab_op = META_GRAB_OP_KEYBOARD_RESIZING_W;
handled = TRUE;
break;
case XK_Right:
case XK_KP_Right:
+ case XK_l:
display->grab_op = META_GRAB_OP_KEYBOARD_RESIZING_E;
handled = TRUE;
break;
@@ -1680,11 +1690,13 @@ process_keyboard_resize_grab_op_change (MetaDisplay *display,
{
case XK_Left:
case XK_KP_Left:
+ case XK_h:
display->grab_op = META_GRAB_OP_KEYBOARD_RESIZING_W;
handled = TRUE;
break;
case XK_Right:
case XK_KP_Right:
+ case XK_l:
display->grab_op = META_GRAB_OP_KEYBOARD_RESIZING_E;
handled = TRUE;
break;
@@ -1696,11 +1708,13 @@ process_keyboard_resize_grab_op_change (MetaDisplay *display,
{
case XK_Up:
case XK_KP_Up:
+ case XK_k:
display->grab_op = META_GRAB_OP_KEYBOARD_RESIZING_N;
handled = TRUE;
break;
case XK_Down:
case XK_KP_Down:
+ case XK_j:
display->grab_op = META_GRAB_OP_KEYBOARD_RESIZING_S;
handled = TRUE;
break;
@@ -1712,11 +1726,13 @@ process_keyboard_resize_grab_op_change (MetaDisplay *display,
{
case XK_Up:
case XK_KP_Up:
+ case XK_k:
display->grab_op = META_GRAB_OP_KEYBOARD_RESIZING_N;
handled = TRUE;
break;
case XK_Down:
case XK_KP_Down:
+ case XK_j:
display->grab_op = META_GRAB_OP_KEYBOARD_RESIZING_S;
handled = TRUE;
break;
@@ -1838,6 +1854,7 @@ process_keyboard_resize_grab (MetaDisplay *display,
{
case XK_Up:
case XK_KP_Up:
+ case XK_k:
switch (gravity)
{
case NorthGravity:
@@ -1866,6 +1883,7 @@ process_keyboard_resize_grab (MetaDisplay *display,
case XK_Down:
case XK_KP_Down:
+ case XK_j:
switch (gravity)
{
case NorthGravity:
@@ -1894,6 +1912,7 @@ process_keyboard_resize_grab (MetaDisplay *display,
case XK_Left:
case XK_KP_Left:
+ case XK_h:
switch (gravity)
{
case EastGravity:
@@ -1922,6 +1941,7 @@ process_keyboard_resize_grab (MetaDisplay *display,
case XK_Right:
case XK_KP_Right:
+ case XK_l:
switch (gravity)
{
case EastGravity: