[hackers] [surf] changing back/forward buttons || Enno Boland (tox)

From: <hg_AT_suckless.org>
Date: Sun, 6 Sep 2009 08:54:38 +0000 (UTC)

changeset: 48:4b3a487ea1f7
tag: tip
user: Enno Boland (tox) <tox_AT_s01.de>
date: Sun Sep 06 10:56:09 2009 +0200
files: surf.1 surf.c
description:
changing back/forward buttons

diff -r 88518c002e7e -r 4b3a487ea1f7 surf.1
--- a/surf.1 Sun Sep 06 10:18:30 2009 +0200
+++ b/surf.1 Sun Sep 06 10:56:09 2009 +0200
@@ -35,10 +35,10 @@
 .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 -r 88518c002e7e -r 4b3a487ea1f7 surf.c
--- a/surf.c Sun Sep 06 10:18:30 2009 +0200
+++ b/surf.c Sun Sep 06 10:56:09 2009 +0200
@@ -236,10 +236,10 @@
                                         !(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;
                 }
Received on Sun Sep 06 2009 - 08:54:38 UTC

This archive was generated by hypermail 2.2.0 : Sun Sep 06 2009 - 09:00:08 UTC