uncommenting source()
authorEnno Boland (tox) <tox@s01.de>
Wed, 14 Oct 2009 13:19:00 +0000 (15:19 +0200)
committerEnno Boland (tox) <tox@s01.de>
Wed, 14 Oct 2009 13:19:00 +0000 (15:19 +0200)
surf.c

diff --git a/surf.c b/surf.c
index 1a7c526..3193540 100644 (file)
--- 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);
 }