[PATCH 2/5] wineconsole: Pass font size information to the server (v2)
Hugh McMaster
hugh.mcmaster at outlook.com
Wed Oct 28 03:22:27 CDT 2015
Signed-off-by: Hugh McMaster <hugh.mcmaster at outlook.com>
---
programs/wineconsole/wineconsole.c | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/programs/wineconsole/wineconsole.c b/programs/wineconsole/wineconsole.c
index c8e68c1..c9fdd04 100644
--- a/programs/wineconsole/wineconsole.c
+++ b/programs/wineconsole/wineconsole.c
@@ -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_err( req );
+ }
+ SERVER_END_REQ;
}
if (data->curcfg.def_attr != cfg->def_attr)
{
--
1.9.1
More information about the wine-patches
mailing list