Commit 313e064a authored by Hugh McMaster's avatar Hugh McMaster Committed by Alexandre Julliard

wineconsole: Pass font size information to wineserver.

parent b61badcc
......@@ -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)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment