From 7eaa3fc29bf8b714e2e181609504b4a8e75b8b1a Mon Sep 17 00:00:00 2001 From: NunoSempere Date: Fri, 15 Mar 2024 08:58:37 -0300 Subject: Write down shortcuts problem --- TODO.md | 2 ++ rosenrot | Bin 40216 -> 44312 bytes rosenrot.c | 3 +++ 3 files changed, 5 insertions(+) diff --git a/TODO.md b/TODO.md index 4092c47..79f4283 100644 --- a/TODO.md +++ b/TODO.md @@ -5,6 +5,8 @@ - [ ] Document creating new applications, e.g., as in [Asana for Linux](https://git.nunosempere.com/NunoSempere/asana-for-linux) - [ ] Use something other than Whatsapp as an example syslink. - [ ] Fix bug about distorted audio. Maybe related to [this pipewire issue]()? + - See whether it even exists at all +- [ ] Fix PageUp/PageDown shortcuts. - [ ] Upgrade to GTK-4 / Webkitgtk 6.0? Will take a fair amount of time, since GTK4 redesigns the application model somewhat. - Instructions for webkit-6.0 [here](https://github.com/WebKit/WebKit/blob/ed1422596dce5ff012e64a38faf402ac1674fc7e/Source/WebKit/gtk/migrating-to-webkitgtk-6.0.md) - Instructions for GTK-4 [here](https://docs.gtk.org/gtk4/migrating-3to4.html) diff --git a/rosenrot b/rosenrot index 331e40d..ee5c836 100755 Binary files a/rosenrot and b/rosenrot differ diff --git a/rosenrot.c b/rosenrot.c index 7c3acc9..cdec5f7 100644 --- a/rosenrot.c +++ b/rosenrot.c @@ -1,6 +1,7 @@ #include #include #include +#include #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++) -- cgit v1.2.3