summaryrefslogtreecommitdiff
path: root/surf.c
diff options
context:
space:
mode:
authorEnno Boland (tox) <tox@s01.de>2009-10-14 15:19:00 +0200
committerEnno Boland (tox) <tox@s01.de>2009-10-14 15:19:00 +0200
commit24bbd6be02e87926e803028477538ce929253626 (patch)
tree5c6e72ffe4928106ef374689e331c0240d044523 /surf.c
parentfe87a88954649c31f5e7f0f41852876e374953da (diff)
downloadsurf-24bbd6be02e87926e803028477538ce929253626.tar.gz
surf-24bbd6be02e87926e803028477538ce929253626.tar.bz2
surf-24bbd6be02e87926e803028477538ce929253626.zip
uncommenting source()
Diffstat (limited to 'surf.c')
-rw-r--r--surf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/surf.c b/surf.c
index 1a7c526..3193540 100644
--- a/surf.c
+++ b/surf.c
@@ -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);
}