* src/mainwindow.c
[claws.git] / src / mainwindow.c
index 779ff8e9f6653b9b4474c33e8f68960f58e35b0a..0b3f8b1787e45c596609f8747483c299c1b62b0e 100644 (file)
@@ -2648,6 +2648,10 @@ static gboolean mainwindow_focus_in_event(GtkWidget *widget, GdkEventFocus *focu
        SummaryView *summary;
 
        g_return_val_if_fail(data, FALSE);
+
+       if (gtk_grab_get_current()) 
+               return FALSE;
+       
        summary = ((MainWindow *)data)->summaryview;
        g_return_val_if_fail(summary, FALSE);
        if (summary->selected != summary->displayed)