aboutsummaryrefslogtreecommitdiff
path: root/rosenrot.c
diff options
context:
space:
mode:
authorNunoSempere <nuno.semperelh@protonmail.com>2024-03-15 08:58:37 -0300
committerNunoSempere <nuno.semperelh@protonmail.com>2024-03-15 08:58:37 -0300
commit7eaa3fc29bf8b714e2e181609504b4a8e75b8b1a (patch)
tree833adc8aa766f72262f811c84c14a38d61052391 /rosenrot.c
parent7fc771eaad917216c82c7877bca3aad0fc4de742 (diff)
Write down shortcuts problem
Diffstat (limited to 'rosenrot.c')
-rw-r--r--rosenrot.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/rosenrot.c b/rosenrot.c
index 7c3acc9..cdec5f7 100644
--- a/rosenrot.c
+++ b/rosenrot.c
@@ -1,6 +1,7 @@
#include <stdlib.h>
#include <string.h>
#include <webkit2/webkit2.h>
+#include <gdk/gdk.h>
#include "config.h"
#include "plugins/plugins.h"
@@ -391,6 +392,8 @@ int handle_signal_keypress(void* self, GdkEvent* event, GtkNotebook* notebook)
printf("Keypress state is: CONTROL\n");
}
printf("Keypress value: %d\n", event_keyval);
+ printf("PageUp: %d\n", KEY(Page_Up));
+ printf("PageDown: %d\n", KEY(Page_Down));
}
for (int i = 0; i < sizeof(shortcut) / sizeof(shortcut[0]); i++)