wineconsole: Pass font size information to wineserver.

Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
oldstable
Hugh McMaster 2015-10-29 23:17:19 +11:00 committed by Alexandre Julliard
parent b61badcc90
commit 313e064a44
1 changed files with 9 additions and 0 deletions

View File

@ -425,6 +425,15 @@ void WINECON_SetConfig(struct inner_data* data, const struct config_data* cf
data->curcfg.cell_height != cfg->cell_height || data->curcfg.font_weight != cfg->font_weight)
{
data->fnSetFont(data, cfg->face_name, cfg->cell_height, cfg->font_weight);
SERVER_START_REQ(set_console_output_info)
{
req->handle = wine_server_obj_handle( data->hConOut );
req->mask = SET_CONSOLE_OUTPUT_INFO_FONT;
req->font_width = cfg->cell_width;
req->font_height = cfg->cell_height;
wine_server_call( req );
}
SERVER_END_REQ;
}
if (data->curcfg.def_attr != cfg->def_attr)
{