aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--fiv.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/fiv.c b/fiv.c
index 8a3021e..8af0cc5 100644
--- a/fiv.c
+++ b/fiv.c
@@ -72,7 +72,7 @@ struct key_section {
};
static struct key help_keys_general[] = {
- {"F1 <control>F1", "Show this list of shortcuts"},
+ {"F1 <control>question", "Show this list of shortcuts"},
{"F11 f", "Toggle fullscreen view"},
{"<alt><shift>d", "Toggle dark theme variant"},
{"q <control>q", "Exit the program"},
@@ -776,6 +776,7 @@ on_key_press(G_GNUC_UNUSED GtkWidget *widget, GdkEventKey *event,
}
break;
case GDK_CONTROL_MASK:
+ case GDK_CONTROL_MASK | GDK_SHIFT_MASK:
switch (event->keyval) {
case GDK_KEY_h:
gtk_button_clicked(GTK_BUTTON(g.funnel));
@@ -798,7 +799,7 @@ on_key_press(G_GNUC_UNUSED GtkWidget *widget, GdkEventKey *event,
gtk_widget_destroy(g.window);
return TRUE;
- case GDK_KEY_F1:
+ case GDK_KEY_question:
show_help_shortcuts();
return TRUE;
}