summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEnno Boland (tox) <tox@s01.de>2009-09-06 10:56:09 +0200
committerEnno Boland (tox) <tox@s01.de>2009-09-06 10:56:09 +0200
commit2fcb6c5aab8c39a9935897b379c852db52b164da (patch)
treebef5be2dbd3457b0d7757b9a706b0c336c0ec2ee
parentc9f3583ef2a8dddc3db3ae2ede17b0fb91c483da (diff)
downloadsurf-2fcb6c5aab8c39a9935897b379c852db52b164da.tar.gz
surf-2fcb6c5aab8c39a9935897b379c852db52b164da.tar.bz2
surf-2fcb6c5aab8c39a9935897b379c852db52b164da.zip
changing back/forward buttons
-rw-r--r--surf.14
-rw-r--r--surf.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/surf.1 b/surf.1
index 1964acf..98cb0ce 100644
--- a/surf.1
+++ b/surf.1
@@ -35,10 +35,10 @@ Prints xid to standard output. This can be used to script the browser by using
.BR xprop(1).
.SH USAGE
.TP
-.B Ctrl\-Left
+.B Ctrl\-h
Walks back the history.
.TP
-.B Ctrl\-Right
+.B Ctrl\-l
Walks forward the history.
.TP
.B Ctrl\-/
diff --git a/surf.c b/surf.c
index a5e0d28..89987a8 100644
--- a/surf.c
+++ b/surf.c
@@ -236,10 +236,10 @@ keypress(GtkWidget* w, GdkEventKey *ev, Client *c) {
!(ev->state & GDK_SHIFT_MASK),
TRUE);
return TRUE;
- case GDK_Left:
+ case GDK_h:
webkit_web_view_go_back(c->view);
return TRUE;
- case GDK_Right:
+ case GDK_l:
webkit_web_view_go_forward(c->view);
return TRUE;
}