diff options
author | NunoSempere <nuno.semperelh@protonmail.com> | 2024-03-12 14:39:03 -0300 |
---|---|---|
committer | NunoSempere <nuno.semperelh@protonmail.com> | 2024-03-12 14:40:50 -0300 |
commit | bb9d791a62808b973c8258edd921d1c78e0b1df4 (patch) | |
tree | 6432f0d9ef92603377b0b78ccd10bdd9ca3d2aca /config.h | |
parent | 8907cbb063f4369bfba554f3fb6f1fc2a9a17fd9 (diff) |
get shortcuts working again
Diffstat (limited to 'config.h')
-rw-r--r-- | config.h | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -1,5 +1,7 @@ -#include <gdk/gdkkeysyms.h> #include <stdbool.h> +#include <gdk/gdk.h> +// Previously: #include <gdk/gdkkeysyms.h> +// But GTK now discourages including the individual headers // Key user config #define WIDTH 1920 // 960 for half-width, 1920 for full width @@ -82,8 +84,8 @@ static struct { { CTRL, KEY(h), goback }, { CTRL, KEY(j), goforward }, { CTRL, KEY(r), refresh }, - { CTRL | SFT, KEY(R), refresh_force }, - { CTRL | SFT, KEY(H), back_to_home }, + { CTRL, KEY(R), refresh_force }, + { CTRL, KEY(H), back_to_home }, { CTRL, KEY(equal), zoomin }, { CTRL, KEY(minus), zoomout }, { CTRL, KEY(0), zoom_reset }, @@ -96,7 +98,7 @@ static struct { { CTRL, KEY(semicolon), hide_bar }, { CTRL, KEY(f), show_finder }, { CTRL, KEY(n), finder_next }, - { CTRL | SFT, KEY(N), finder_prev }, + { CTRL, KEY(N), finder_prev }, { CTRL, KEY(p), prettify } }; /* ^ For controls more akin to normal browsers */ |