Skip to content

Commit

Permalink
feat(swappy): save to file with CTRL+S
Browse files Browse the repository at this point in the history
  • Loading branch information
jtheoof committed Dec 23, 2019
1 parent 72374eb commit af0b1a1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/application.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}

Expand Down

0 comments on commit af0b1a1

Please sign in to comment.