tuncommenting source() - surf - customized build of surf, the suckless webkit b… | |
git clone git://src.adamsgaard.dk/surf | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 24bbd6be02e87926e803028477538ce929253626 | |
parent fe87a88954649c31f5e7f0f41852876e374953da | |
Author: Enno Boland (tox) <[email protected]> | |
Date: Wed, 14 Oct 2009 15:19:00 +0200 | |
uncommenting source() | |
Diffstat: | |
M surf.c | 4 ++-- | |
1 file changed, 2 insertions(+), 2 deletions(-) | |
--- | |
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); | |
} | |