+// if snapping to selection point
+ if( gui->ctrl_down() && gui->alt_down() ) {
+ switch( mwindow->session->current_operation ) {
+ case DRAG_EDITHANDLE1:
+ mwindow->session->drag_position = start_position;
+ mwindow->session->current_operation = NO_OPERATION;
+ drag_scroll = 0;
+ end_edithandle_selection();
+ break;
+ case DRAG_PLUGINHANDLE1:
+ mwindow->session->drag_position = start_position;
+ mwindow->session->current_operation = NO_OPERATION;
+ drag_scroll = 0;
+ end_pluginhandle_selection();
+ break;
+ }
+ }