diff options
author | Quentin Rameau <quinq@fifth.space> | 2017-05-20 17:04:49 +0200 |
---|---|---|
committer | Quentin Rameau <quinq@fifth.space> | 2017-05-22 12:38:49 +0200 |
commit | d3e974f4eafe459990ff9b140d96a6fe568ee6dc (patch) | |
tree | 08cc48f473515e29aa72e7697bc55aa709b98348 /config.def.h | |
parent | 70c1b548abea41411b2dd2c91832a4212a25385c (diff) | |
download | surf-d3e974f4eafe459990ff9b140d96a6fe568ee6dc.tar.gz surf-d3e974f4eafe459990ff9b140d96a6fe568ee6dc.tar.bz2 surf-d3e974f4eafe459990ff9b140d96a6fe568ee6dc.zip |
Get rid of integer member b in Arg
There's no need to keep another integer member there, use directly the i
integer one.
Diffstat (limited to 'config.def.h')
-rw-r--r-- | config.def.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/config.def.h b/config.def.h index 0b45cd6..a29c388 100644 --- a/config.def.h +++ b/config.def.h @@ -130,8 +130,8 @@ static Key keys[] = { { 0, GDK_KEY_Escape, stop, { 0 } }, { MODKEY, GDK_KEY_c, stop, { 0 } }, - { MODKEY|GDK_SHIFT_MASK, GDK_KEY_r, reload, { .b = 1 } }, - { MODKEY, GDK_KEY_r, reload, { .b = 0 } }, + { MODKEY|GDK_SHIFT_MASK, GDK_KEY_r, reload, { .i = 1 } }, + { MODKEY, GDK_KEY_r, reload, { .i = 0 } }, { MODKEY, GDK_KEY_l, navigate, { .i = +1 } }, { MODKEY, GDK_KEY_h, navigate, { .i = -1 } }, @@ -153,8 +153,8 @@ static Key keys[] = { { MODKEY, GDK_KEY_minus, zoom, { .i = -1 } }, { MODKEY, GDK_KEY_plus, zoom, { .i = +1 } }, - { MODKEY, GDK_KEY_p, clipboard, { .b = 1 } }, - { MODKEY, GDK_KEY_y, clipboard, { .b = 0 } }, + { MODKEY, GDK_KEY_p, clipboard, { .i = 1 } }, + { MODKEY, GDK_KEY_y, clipboard, { .i = 0 } }, { MODKEY, GDK_KEY_n, find, { .i = +1 } }, { MODKEY|GDK_SHIFT_MASK, GDK_KEY_n, find, { .i = -1 } }, @@ -181,9 +181,9 @@ static Key keys[] = { /* target can be OnDoc, OnLink, OnImg, OnMedia, OnEdit, OnBar, OnSel, OnAny */ static Button buttons[] = { /* target event mask button function argument stop event */ - { OnLink, 0, 2, clicknewwindow, { .b = 0 }, 1 }, - { OnLink, MODKEY, 2, clicknewwindow, { .b = 1 }, 1 }, - { OnLink, MODKEY, 1, clicknewwindow, { .b = 1 }, 1 }, + { OnLink, 0, 2, clicknewwindow, { .i = 0 }, 1 }, + { OnLink, MODKEY, 2, clicknewwindow, { .i = 1 }, 1 }, + { OnLink, MODKEY, 1, clicknewwindow, { .i = 1 }, 1 }, { OnAny, 0, 8, clicknavigate, { .i = -1 }, 1 }, { OnAny, 0, 9, clicknavigate, { .i = +1 }, 1 }, { OnMedia, MODKEY, 1, clickexternplayer, { 0 }, 1 }, |