aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--main.c26
1 files changed, 13 insertions, 13 deletions
diff --git a/main.c b/main.c
index 06b2ca9..1c6e57f 100644
--- a/main.c
+++ b/main.c
@@ -182,23 +182,23 @@ kpress(XKeyEvent * e) {
switch(ksym) {
default: return;
case XK_h:
- ksym = XK_Left;
- break;
+ ksym = XK_Left;
+ break;
case XK_l:
- ksym = XK_Right;
- break;
+ ksym = XK_Right;
+ break;
case XK_j:
- ksym = XK_Next;
- break;
- case XK_l:
- ksym = XK_Prior;
- break;
+ ksym = XK_Next;
+ break;
+ case XK_k:
+ ksym = XK_Prior;
+ break;
case XK_g:
- ksym = XK_Home;
- break;
+ ksym = XK_Home;
+ break;
case XK_G:
- ksym = XK_End;
- break;
+ ksym = XK_End;
+ break;
}
}
switch(ksym) {