diff options
Diffstat (limited to 'src/ui/messenger.c')
-rw-r--r-- | src/ui/messenger.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ui/messenger.c b/src/ui/messenger.c index 9976e18..daabd17 100644 --- a/src/ui/messenger.c +++ b/src/ui/messenger.c | |||
@@ -166,7 +166,8 @@ handle_send_text_key_press (GtkWidget *widget, | |||
166 | { | 166 | { |
167 | MESSENGER_Application *app = (MESSENGER_Application*) user_data; | 167 | MESSENGER_Application *app = (MESSENGER_Application*) user_data; |
168 | 168 | ||
169 | if ((event->state & GDK_SHIFT_MASK) || | 169 | if ((app->ui.mobile) || |
170 | (event->state & GDK_SHIFT_MASK) || | ||
170 | ((event->keyval != GDK_KEY_Return) && | 171 | ((event->keyval != GDK_KEY_Return) && |
171 | (event->keyval != GDK_KEY_KP_Enter))) | 172 | (event->keyval != GDK_KEY_KP_Enter))) |
172 | return FALSE; | 173 | return FALSE; |