summaryrefslogtreecommitdiffstats
path: root/xrdp/xrdp_login_wnd.c
diff options
context:
space:
mode:
authorjsorg71 <jsorg71>2008-04-05 08:25:49 +0000
committerjsorg71 <jsorg71>2008-04-05 08:25:49 +0000
commit4ebb544cd889b9bf8ecfbc30969a86a48680085b (patch)
treef845441743659eef932e83c3e3e8272c874383a0 /xrdp/xrdp_login_wnd.c
parent85e42c068c2a8c3e7b07e31b38bfd5d8f863c5bb (diff)
downloadxrdp-proprietary-4ebb544cd889b9bf8ecfbc30969a86a48680085b.tar.gz
xrdp-proprietary-4ebb544cd889b9bf8ecfbc30969a86a48680085b.zip
main loop changes, not so chatty
Diffstat (limited to 'xrdp/xrdp_login_wnd.c')
-rw-r--r--xrdp/xrdp_login_wnd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/xrdp/xrdp_login_wnd.c b/xrdp/xrdp_login_wnd.c
index 690efd71..bc15d940 100644
--- a/xrdp/xrdp_login_wnd.c
+++ b/xrdp/xrdp_login_wnd.c
@@ -173,7 +173,7 @@ xrdp_wm_cancel_clicked(struct xrdp_bitmap* wnd)
{
if (wnd->wm->pro_layer != 0)
{
- wnd->wm->pro_layer->term = 1;
+ g_set_wait_obj(wnd->wm->pro_layer->self_term_event);
}
}
}
@@ -219,7 +219,7 @@ xrdp_wm_ok_clicked(struct xrdp_bitmap* wnd)
/* gota copy these cause dialog gets freed */
list_append_list_strdup(mod_data->names, wm->mm->login_names, 0);
list_append_list_strdup(mod_data->values, wm->mm->login_values, 0);
- wm->login_mode = 2;
+ xrdp_wm_set_login_mode(wm, 2);
}
}
return 0;