summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--config.h7
-rw-r--r--surf.c4
2 files changed, 6 insertions, 5 deletions
diff --git a/config.h b/config.h
index a46843c..151bbf4 100644
--- a/config.h
+++ b/config.h
@@ -17,9 +17,10 @@ static Key keys[] = {
{ 0, GDK_Return, hideurl, {0}, URLBAR },
{ GDK_CONTROL_MASK, GDK_p, clipboard, {.b = TRUE }, BROWSER },
{ GDK_CONTROL_MASK, GDK_y, clipboard, {.b = FALSE}, BROWSER },
- { GDK_CONTROL_MASK, GDK_plus, zoompage, {.i = +1 }, BROWSER },
- { GDK_CONTROL_MASK, GDK_minus, zoompage, {.i = -1 }, BROWSER },
- { GDK_CONTROL_MASK, GDK_0, zoompage, {.i = 0 }, BROWSER },
+ { GDK_CONTROL_MASK, GDK_equal, zoom, {.i = +1 }, BROWSER },
+ { GDK_CONTROL_MASK, GDK_plus, zoom, {.i = +1 }, BROWSER },
+ { GDK_CONTROL_MASK, GDK_minus, zoom, {.i = -1 }, BROWSER },
+ { GDK_CONTROL_MASK, GDK_0, zoom, {.i = 0 }, BROWSER },
{ GDK_CONTROL_MASK, GDK_l, navigate, {.i = +1}, BROWSER },
{ GDK_CONTROL_MASK, GDK_h, navigate, {.i = -1}, BROWSER },
{ 0, GDK_Escape, stop, {0}, BROWSER },
diff --git a/surf.c b/surf.c
index 47005b7..f43d848 100644
--- a/surf.c
+++ b/surf.c
@@ -108,7 +108,7 @@ static void stop(Client *c, const Arg *arg);
static void titlechange(WebKitWebView* view, WebKitWebFrame* frame, const gchar* title, Client *c);
static void usage();
static void updatetitle(Client *c, const gchar *title);
-static void zoompage(Client *c, const Arg *arg);
+static void zoom(Client *c, const Arg *arg);
#include "config.h"
@@ -563,7 +563,7 @@ updatetitle(Client *c, const char *title) {
}
void
-zoompage(Client *c, const Arg *arg) {
+zoom(Client *c, const Arg *arg) {
if(arg->i < 0) /* zoom out */
webkit_web_view_zoom_out(c->view);
else if(arg->i > 0) /* zoom in */
e locking.Gravatar Enno Boland (tox) 1-2/+14 2010-03-25updating manpage, reformating help output.Gravatar Enno Boland (tox) 2-9/+19 2010-03-24fixing argument parsing.Gravatar Enno Boland (tox) 1-0/+2 2010-03-24fixing downloadsGravatar Enno Boland (tox) 1-8/+6 2010-03-24gotheaders will now be called correctly.Gravatar Enno Boland (tox) 1-1/+6 00'>2024-09-12temporary github action fix until non-interactive mode is implementedGravatar BanceDev 1-2/+2 2024-09-12attempt to update build script to accept input into lush shellGravatar BanceDev 2-4/+6 2024-09-12prevent lush workflow from getting stuck in testsGravatar Lance Borden 1-1/+4 2024-09-12removed chsh in workflowGravatar Lance Borden 1-4/+1 over-highlight'> 2024-09-09added support for init.lua for configuring shellGravatar BanceDev 8-38/+180 2024-09-09docs: update pathGravatar Christopher Lane 1-1/+1 Updated the path to the example script and fixed a typo in the readme 2024-09-08added getenv and putenv to Lua APIGravatar BanceDev 2-5/+33 fixed bug where terminal closed upon encountering Lua error 2024-09-08added lua api functions for indexing historyGravatar BanceDev 2-0/+35 2024-09-08added support for cli args for lua scriptsGravatar BanceDev 4-3/+28 2024-09-07added --version flagGravatar BanceDev 1-1/+9 2024-09-07fixed error in install.sh instructionsGravatar BanceDev 1-1/+1 2024-09-07fixed bug with cursor alignment when adding text within the bufferGravatar BanceDev 1-1/+11 2024-09-06added API guide to readmeGravatar BanceDev 1-1/+5 2024-09-06Update README.mdGravatar Lance Borden 1-1/+1 2024-09-06better readmeGravatar BanceDev 2-2/+14