[Commits] [SCM] claws branch, gtk3tree, updated. 3.99.0-72-g8cfe1ccd2

thorsten at claws-mail.org thorsten at claws-mail.org
Mon Mar 29 11:52:25 CEST 2021


The branch, gtk3tree has been updated
       via  8cfe1ccd2d5f126332519b0bcf283781444f8332 (commit)
      from  6daa5d67df016632b6723b6ccf2bd5ca98425e6f (commit)

Summary of changes:
 src/folderview.c | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)


- Log -----------------------------------------------------------------
commit 8cfe1ccd2d5f126332519b0bcf283781444f8332
Author: Thorsten Maerz <info at netztorte.de>
Date:   Mon Mar 29 11:50:32 2021 +0200

    Ensure focus change to summary after folder click

diff --git a/src/folderview.c b/src/folderview.c
index 33280c9fa..27afa4476 100644
--- a/src/folderview.c
+++ b/src/folderview.c
@@ -490,11 +490,15 @@ static void row_activated_cb(GtkTreeView *treeview, GtkTreePath *path,
 	*/
 
 	/* ungrab the mouse event */
+	/* TM: disabled - grab_add was done by ctree
 	if (gtk_widget_has_grab(GTK_WIDGET(treeview))) {
 		gtk_grab_remove(GTK_WIDGET(treeview));
 		if (gdk_pointer_is_grabbed())
 			gdk_pointer_ungrab(GDK_CURRENT_TIME);
-	}
+	} */
+
+	/* TM: ensure focus-change in button-release handler */
+	folderview->will_open_selected = TRUE;
 }
 
 /***********************************

-----------------------------------------------------------------------


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list