diff options
-rw-r--r-- | libempathy-gtk/empathy-chat.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libempathy-gtk/empathy-chat.c b/libempathy-gtk/empathy-chat.c index ba439b49d..166724d2d 100644 --- a/libempathy-gtk/empathy-chat.c +++ b/libempathy-gtk/empathy-chat.c @@ -1421,7 +1421,9 @@ chat_input_realize_cb (GtkWidget *widget, EmpathyChat *chat) { DEBUG ("Setting focus to the input text view"); - gtk_widget_grab_focus (widget); + if (gtk_widget_is_sensitive (widget)) { + gtk_widget_grab_focus (widget); + } } static void |