logo

badwolf

minimalist and privacy-oriented web browser based on WebKitGTK git clone https://hacktivis.me/git/badwolf.git
commit: 459d50c30cd1b14946ed16267b8417625d6246a9
parent f57a127d718c116f0e11cb543fbcad2359df9c86
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Sat, 11 May 2019 03:57:01 +0200

badwolf.c: C-0 resets zoom

Diffstat:

Mbadwolf.c1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/badwolf.c b/badwolf.c @@ -116,6 +116,7 @@ commonCb_key_press_event(struct Window *window, GdkEvent *event, struct Client * case GDK_KEY_l: gtk_widget_grab_focus(browser->location); return TRUE; case GDK_KEY_bracketleft: webkit_web_view_go_back(browser->webView); return TRUE; case GDK_KEY_bracketright: webkit_web_view_go_forward(browser->webView); return TRUE; + case GDK_KEY_0: webkit_web_view_set_zoom_level(WEBKIT_WEB_VIEW(browser->webView), 1); return TRUE; } } else