summaryrefslogtreecommitdiffstats
path: root/xrdp/xrdp_login_wnd.c
diff options
context:
space:
mode:
authorjsorg71 <jsorg71>2005-03-26 06:53:08 +0000
committerjsorg71 <jsorg71>2005-03-26 06:53:08 +0000
commit959be9d2a2ef6f4f34dca19df007f30b7d5e8d45 (patch)
tree379f144455cba937d9f69248c3f3d9decd548e5e /xrdp/xrdp_login_wnd.c
parentbca2f57fe8348f976462ecc8b1c8b377bde34ffb (diff)
downloadxrdp-proprietary-959be9d2a2ef6f4f34dca19df007f30b7d5e8d45.tar.gz
xrdp-proprietary-959be9d2a2ef6f4f34dca19df007f30b7d5e8d45.zip
close connection window if connected
Diffstat (limited to 'xrdp/xrdp_login_wnd.c')
-rw-r--r--xrdp/xrdp_login_wnd.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/xrdp/xrdp_login_wnd.c b/xrdp/xrdp_login_wnd.c
index fe9e36fb..9cf14071 100644
--- a/xrdp/xrdp_login_wnd.c
+++ b/xrdp/xrdp_login_wnd.c
@@ -264,7 +264,13 @@ int xrdp_wm_login_notify(struct xrdp_bitmap* wnd,
wm->mod_handle = 0;
wm->mod_init = 0;
wm->mod_exit = 0;
- //wm->pro_layer->app_sck = 0;
+ }
+ else /* close connection log window if connection is ok */
+ {
+ if (wm->log_wnd != 0)
+ {
+ xrdp_bitmap_delete(wm->log_wnd);
+ }
}
}
if (!wm->pro_layer->term)