diff options
author | toni <matzeton@googlemail.com> | 2016-07-25 00:54:34 +0200 |
---|---|---|
committer | toni <matzeton@googlemail.com> | 2016-07-25 00:54:34 +0200 |
commit | 9cc42e573c1d28a71df6ca96131b8b14aff7639e (patch) | |
tree | 2c5ebceda9fdadee23758703b22974ba2a6adaba /src/ui_elements.c | |
parent | 5afec763c90217870f98f34220113481ac0dc859 (diff) |
fixed update if timeout bug
Diffstat (limited to 'src/ui_elements.c')
-rw-r--r-- | src/ui_elements.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ui_elements.c b/src/ui_elements.c index aae1aff..ec5a29e 100644 --- a/src/ui_elements.c +++ b/src/ui_elements.c @@ -69,7 +69,7 @@ show_info_wnd(struct txtwindow *wnd, char *_title, char *text, chtype fore, chty set_txtwindow_title(wnd, _title); set_txtwindow_text(wnd, text); ui_thrd_resume(); - ui_thrd_force_update(false); + ui_thrd_force_update(false, false); } static int @@ -87,7 +87,7 @@ passwd_input_cb(WINDOW *wnd, void *data, int key) clear_input(wnd, a); deactivate_input(pw_input); ui_thrd_resume(); - ui_thrd_force_update(false); + ui_thrd_force_update(false, false); ui_ipc_msgrecv(MQ_IF, ipc_buf); show_info_wnd(infownd, "BUSY", ipc_buf, COLOR_PAIR(5), COLOR_PAIR(5), true, false); @@ -104,7 +104,7 @@ passwd_input_cb(WINDOW *wnd, void *data, int key) set_txtwindow_active(infownd, false); activate_input(pw_input); ui_thrd_resume(); - ui_thrd_force_update(true); + ui_thrd_force_update(true, false); ui_ipc_sempost(SEM_IN); break; |