diff options
author | Thomas White <taw@bitwiz.org.uk> | 2011-05-27 21:38:08 +0200 |
---|---|---|
committer | Thomas White <taw@bitwiz.org.uk> | 2011-05-27 21:38:08 +0200 |
commit | ef1fb4982425a8df33850570348cb7d23f62d041 (patch) | |
tree | ab897013d27f598cff8a2e420816a4e01b576e45 /src/mainwindow.c | |
parent | ee6e029d5437146ea7edede591f4aaa8e4756379 (diff) |
Position caret with mouse click
Diffstat (limited to 'src/mainwindow.c')
-rw-r--r-- | src/mainwindow.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mainwindow.c b/src/mainwindow.c index 63b78f7..64d854e 100644 --- a/src/mainwindow.c +++ b/src/mainwindow.c @@ -218,6 +218,7 @@ static gboolean button_press_sig(GtkWidget *da, GdkEventButton *event, x, y); } else { p->editing_object = clicked; + position_caret(clicked, x, y); } } |