diff options
author | Thomas White <taw@bitwiz.org.uk> | 2015-05-18 22:43:05 +0200 |
---|---|---|
committer | Thomas White <taw@bitwiz.org.uk> | 2015-05-18 22:43:05 +0200 |
commit | 588b0c9031a71f08ad93b14f02f0bf0e2a070853 (patch) | |
tree | 622afb509d082026982d090e29f92f7436d9621e /src/sc_editor.c | |
parent | fe5ea759dcfd99d1554c4787f7af761e1f1d8d6e (diff) |
Set correct cursor position after creating a new frame
Diffstat (limited to 'src/sc_editor.c')
-rw-r--r-- | src/sc_editor.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/sc_editor.c b/src/sc_editor.c index 113573d..3d3863a 100644 --- a/src/sc_editor.c +++ b/src/sc_editor.c @@ -1039,6 +1039,9 @@ static gboolean button_release_sig(GtkWidget *da, GdkEventButton *event, e->drag_corner_y - e->start_corner_y); rerender(e); e->selection = fr; + e->cursor_frame = fr; + e->cursor_line = 0; + e->cursor_pos = 0; break; case DRAG_REASON_IMPORT : |