From af0b1a11a21faac04f8b43c4c9ef616ab5fd2b78 Mon Sep 17 00:00:00 2001 From: Jeremy Attali Date: Mon, 23 Dec 2019 17:01:12 -0500 Subject: [PATCH] feat(swappy): save to file with CTRL+S --- src/application.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/application.c b/src/application.c index b33d194..fefda74 100644 --- a/src/application.c +++ b/src/application.c @@ -210,6 +210,8 @@ static void keypress_handler(GtkWidget *widget, GdkEventKey *event, true); } else if (event->keyval == GDK_KEY_c && event->state & GDK_CONTROL_MASK) { clipboard_copy_drawing_area_to_selection(state); + } else if (event->keyval == GDK_KEY_s && event->state & GDK_CONTROL_MASK) { + action_save_area_to_file(state); } }