Adding back the Escape to stop loading the current page. Thanks Daniel Bainton
for the notice!
This commit is contained in:
parent
f02e652fa0
commit
ba452c2e13
2
README
2
README
|
@ -2,7 +2,6 @@ surf - simple webkit-based browser
|
||||||
==================================
|
==================================
|
||||||
surf is a simple Web browser based on WebKit/GTK+.
|
surf is a simple Web browser based on WebKit/GTK+.
|
||||||
|
|
||||||
|
|
||||||
Requirements
|
Requirements
|
||||||
------------
|
------------
|
||||||
In order to build surf you need GTK+ and Webkit/GTK+ header files.
|
In order to build surf you need GTK+ and Webkit/GTK+ header files.
|
||||||
|
@ -23,3 +22,4 @@ Running surf
|
||||||
------------
|
------------
|
||||||
run
|
run
|
||||||
surf [URL]
|
surf [URL]
|
||||||
|
|
||||||
|
|
|
@ -45,6 +45,7 @@ static Key keys[] = {
|
||||||
{ MODKEY, GDK_space, scroll_v, { .i = +10000 } },
|
{ MODKEY, GDK_space, scroll_v, { .i = +10000 } },
|
||||||
{ MODKEY, GDK_i, scroll_h, { .i = +1 } },
|
{ MODKEY, GDK_i, scroll_h, { .i = +1 } },
|
||||||
{ MODKEY, GDK_u, scroll_h, { .i = -1 } },
|
{ MODKEY, GDK_u, scroll_h, { .i = -1 } },
|
||||||
|
{ 0, GDK_Escape, stop, { 0 } },
|
||||||
{ MODKEY, GDK_o, source, { 0 } },
|
{ MODKEY, GDK_o, source, { 0 } },
|
||||||
{ MODKEY, GDK_g, spawn, SETPROP("_SURF_URI", "_SURF_GO") },
|
{ MODKEY, GDK_g, spawn, SETPROP("_SURF_URI", "_SURF_GO") },
|
||||||
{ MODKEY, GDK_f, spawn, SETPROP("_SURF_FIND", "_SURF_FIND") },
|
{ MODKEY, GDK_f, spawn, SETPROP("_SURF_FIND", "_SURF_FIND") },
|
||||||
|
|
|
@ -20,7 +20,7 @@ LIBS = -L/usr/lib -lc -L${X11LIB} -lX11 ${GTKLIB} -lgthread-2.0 \
|
||||||
|
|
||||||
# flags
|
# flags
|
||||||
CPPFLAGS = -DVERSION=\"${VERSION}\"
|
CPPFLAGS = -DVERSION=\"${VERSION}\"
|
||||||
CFLAGS = -g -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS}
|
CFLAGS = -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS}
|
||||||
LDFLAGS = -g ${LIBS}
|
LDFLAGS = -g ${LIBS}
|
||||||
|
|
||||||
# Solaris
|
# Solaris
|
||||||
|
|
Loading…
Reference in New Issue
Block a user