From: Alfons Hoogervorst Date: Thu, 5 Feb 2004 16:14:22 +0000 (+0000) Subject: * src/compose.c X-Git-Tag: rel_0_9_9~6 X-Git-Url: http://git.claws-mail.org/?p=claws.git;a=commitdiff_plain;h=a97c21331de1561e841dc05621afcb397631e878 * src/compose.c grab focus only when lbutton was pressed (bug #430 cont'd; don't have clue yet why the cursor pos is at the end of the text.) (with apologies for breaking the freeze with this last-minute fix) --- diff --git a/ChangeLog.claws b/ChangeLog.claws index 489b80726..e798dd4d0 100644 --- a/ChangeLog.claws +++ b/ChangeLog.claws @@ -1,3 +1,10 @@ +2004-04-02 [alfons] 0.9.8claws62 + + * src/compose.c + grab focus only when lbutton was pressed (bug #430 cont'd; + don't have clue yet why the cursor pos is at the end of the + text.) + 2004-04-02 [alfons] 0.9.8claws61 * src/compose.c diff --git a/configure.ac b/configure.ac index 71e86b7dc..619640bcc 100644 --- a/configure.ac +++ b/configure.ac @@ -11,7 +11,7 @@ MINOR_VERSION=9 MICRO_VERSION=8 INTERFACE_AGE=0 BINARY_AGE=0 -EXTRA_VERSION=61 +EXTRA_VERSION=62 if test $EXTRA_VERSION -eq 0; then VERSION=${MAJOR_VERSION}.${MINOR_VERSION}.${MICRO_VERSION}claws else diff --git a/src/compose.c b/src/compose.c index 0f1a081e0..784f4de26 100644 --- a/src/compose.c +++ b/src/compose.c @@ -7127,8 +7127,10 @@ void compose_headerentry_changed_cb(GtkWidget *entry, static gboolean compose_headerentry_button_pressed (GtkWidget *entry, GdkEventButton *event, gpointer data) { - gtk_widget_grab_focus(entry); - return TRUE; + /* if this is a lclick, grab the focus */ + if (event->button == 1) + gtk_widget_grab_focus(entry); + return FALSE; } static void compose_show_first_last_header(Compose *compose, gboolean show_first)