Skip to content

Commit

Permalink
Can now click OK for autologin
Browse files Browse the repository at this point in the history
  • Loading branch information
Nexarian committed Feb 13, 2023
1 parent 232dec5 commit bde1721
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 2 additions & 0 deletions xrdp/xrdp_login_wnd.c
Original file line number Diff line number Diff line change
Expand Up @@ -507,6 +507,8 @@ xrdp_wm_show_edits(struct xrdp_wm *self, struct xrdp_bitmap *combo)
if ((g_strncasecmp(name, "password", 255) == 0) ||
(g_strncasecmp(name, "pampassword", 255) == 0))
{
g_strncpy(b->caption1, self->session->client_info->password, 255);
b->edit_pos = g_mbstowcs(0, b->caption1, 0);
b->password_char = '*';

if (username_set)
Expand Down
1 change: 0 additions & 1 deletion xrdp/xrdp_wm.c
Original file line number Diff line number Diff line change
Expand Up @@ -2111,7 +2111,6 @@ xrdp_wm_paint_text_list(struct xrdp_painter *painter, struct list *text_list,
for (int index = 0; index < text_list->count; ++index)
{
text = (char *)list_get_item(text_list, index);
//THIS IS WHERE IT'S RENDERED FOUND IT
xrdp_painter_draw_text(painter, wnd, 10,
(index + 2) * row_height, text);
}
Expand Down

0 comments on commit bde1721

Please sign in to comment.