mirror of
https://github.com/jtheoof/swappy.git
synced 2024-08-16 18:20:45 +03:00
feat(swappy): save to file with CTRL+S
This commit is contained in:
parent
72374ebf55
commit
af0b1a11a2
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user