From 9cc42e573c1d28a71df6ca96131b8b14aff7639e Mon Sep 17 00:00:00 2001 From: toni Date: Mon, 25 Jul 2016 00:54:34 +0200 Subject: fixed update if timeout bug --- src/ui_elements.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/ui_elements.c') 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; -- cgit v1.2.3