tchanging back/forward buttons - surf - customized build of surf, the suckless … | |
git clone git://src.adamsgaard.dk/surf | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 2fcb6c5aab8c39a9935897b379c852db52b164da | |
parent c9f3583ef2a8dddc3db3ae2ede17b0fb91c483da | |
Author: Enno Boland (tox) <[email protected]> | |
Date: Sun, 6 Sep 2009 10:56:09 +0200 | |
changing back/forward buttons | |
Diffstat: | |
M surf.1 | 4 ++-- | |
M surf.c | 4 ++-- | |
2 files changed, 4 insertions(+), 4 deletions(-) | |
--- | |
diff --git a/surf.1 b/surf.1 | |
t@@ -35,10 +35,10 @@ Prints xid to standard output. This can be used to script … | |
.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 | |
t@@ -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; | |
} |