tuncommenting source() - surf - customized build of surf, the suckless webkit browser
(HTM) git clone git://src.adamsgaard.dk/surf
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 24bbd6be02e87926e803028477538ce929253626
(DIR) parent fe87a88954649c31f5e7f0f41852876e374953da
(HTM) Author: Enno Boland (tox) <tox@s01.de>
Date: Wed, 14 Oct 2009 15:19:00 +0200
uncommenting source()
Diffstat:
M surf.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
(DIR) diff --git a/surf.c b/surf.c
t@@ -595,10 +595,10 @@ showsearch(Client *c, const Arg *arg) {
void
source(Client *c, const Arg *arg) {
Arg a = { .b = FALSE };
- /*gboolean s;
+ gboolean s;
s = webkit_web_view_get_view_source_mode(c->view);
- webkit_web_view_set_view_source_mode(c->view, c->source);*/
+ webkit_web_view_set_view_source_mode(c->view, !s);
reload(c, &a);
}