diff options
Diffstat (limited to 'moji.c')
-rw-r--r-- | moji.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -241,9 +241,10 @@ gboolean timer(gpointer data) * the screen. */ current_position = 0; current_letter = 0; + write_buf(); processed = TRUE; aeGetTime(&pressed_time_sec,&pressed_time_msec); - } else if (diff > CLICK_TIME) { + } else if ((processed == FALSE) && (diff > CLICK_TIME)) { /* If the mouse button has been clicked for more than CLICK_TIME * milliseconds, add the current character to the buffer. */ current_char = current_chars->characters[current_letter % current_chars->len]; |