diff options
author | jsorg71 <jsorg71> | 2007-09-26 07:22:14 +0000 |
---|---|---|
committer | jsorg71 <jsorg71> | 2007-09-26 07:22:14 +0000 |
commit | 62e47c6de0b840f194e5fcc68663acfaeea8ad68 (patch) | |
tree | 93c4b6d750ad3932027c625b8c96c256e583776b /xrdp/xrdp_wm.c | |
parent | 4aab3a34447c8ed829f269220930074338ab46a7 (diff) | |
download | xrdp-proprietary-62e47c6de0b840f194e5fcc68663acfaeea8ad68.tar.gz xrdp-proprietary-62e47c6de0b840f194e5fcc68663acfaeea8ad68.zip |
font changes, no color in font struct, wm default font, etc
Diffstat (limited to 'xrdp/xrdp_wm.c')
-rw-r--r-- | xrdp/xrdp_wm.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/xrdp/xrdp_wm.c b/xrdp/xrdp_wm.c index a8e57056..c3bc6cba 100644 --- a/xrdp/xrdp_wm.c +++ b/xrdp/xrdp_wm.c @@ -45,6 +45,7 @@ xrdp_wm_create(struct xrdp_process* owner, self->key_down_list = list_create(); self->key_down_list->auto_free = 1; self->mm = xrdp_mm_create(self); + self->default_font = xrdp_font_create(self); return self; } @@ -64,6 +65,8 @@ xrdp_wm_delete(struct xrdp_wm* self) list_delete(self->log); /* key down list */ list_delete(self->key_down_list); + /* free default font */ + xrdp_font_delete(self->default_font); /* free self */ g_free(self); } @@ -1414,7 +1417,7 @@ xrdp_wm_log_wnd_notify(struct xrdp_bitmap* wnd, painter = (struct xrdp_painter*)param1; if (painter != 0) { - painter->font->color = wnd->wm->black; + painter->fg_color = wnd->wm->black; for (index = 0; index < wnd->wm->log->count; index++) { text = (char*)list_get_item(wnd->wm->log, index); |