|
|
@ -1864,7 +1864,7 @@ void add_string_to_logwindow(char *msg, struct list *log)
|
|
|
|
|
|
|
|
|
|
|
|
/*****************************************************************************/
|
|
|
|
/*****************************************************************************/
|
|
|
|
int APP_CC
|
|
|
|
int APP_CC
|
|
|
|
xrdp_wm_log_msg(struct xrdp_wm *self, char *msg)
|
|
|
|
xrdp_wm_show_log(struct xrdp_wm *self)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
struct xrdp_bitmap *but;
|
|
|
|
struct xrdp_bitmap *but;
|
|
|
|
int w;
|
|
|
|
int w;
|
|
|
@ -1874,11 +1874,12 @@ xrdp_wm_log_msg(struct xrdp_wm *self, char *msg)
|
|
|
|
|
|
|
|
|
|
|
|
if (self->hide_log_window)
|
|
|
|
if (self->hide_log_window)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
|
|
|
|
/* make sure autologin is off */
|
|
|
|
|
|
|
|
self->session->client_info->rdp_autologin = 0;
|
|
|
|
|
|
|
|
xrdp_wm_set_login_mode(self, 0); /* reset session */
|
|
|
|
return 0;
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
add_string_to_logwindow(msg, self->log);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (self->log_wnd == 0)
|
|
|
|
if (self->log_wnd == 0)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
w = DEFAULT_WND_LOG_W;
|
|
|
|
w = DEFAULT_WND_LOG_W;
|
|
|
@ -1925,7 +1926,15 @@ xrdp_wm_log_msg(struct xrdp_wm *self, char *msg)
|
|
|
|
|
|
|
|
|
|
|
|
xrdp_wm_set_focused(self, self->log_wnd);
|
|
|
|
xrdp_wm_set_focused(self, self->log_wnd);
|
|
|
|
xrdp_bitmap_invalidate(self->log_wnd, 0);
|
|
|
|
xrdp_bitmap_invalidate(self->log_wnd, 0);
|
|
|
|
g_sleep(100);
|
|
|
|
|
|
|
|
|
|
|
|
return 0;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/*****************************************************************************/
|
|
|
|
|
|
|
|
int APP_CC
|
|
|
|
|
|
|
|
xrdp_wm_log_msg(struct xrdp_wm *self, char *msg)
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
add_string_to_logwindow(msg, self->log);
|
|
|
|
return 0;
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|