From cd5c13bf3e0af5688c8f2fb02b6cf772626d0ba2 Mon Sep 17 00:00:00 2001 From: Vincent Wei Date: Tue, 14 Jan 2020 11:59:44 +0800 Subject: [PATCH] restore shared znode info and add mem_dc field for compositing schema --- include/minigui.h | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/include/minigui.h b/include/minigui.h index 16b156eb..c0f4cd86 100644 --- a/include/minigui.h +++ b/include/minigui.h @@ -236,10 +236,8 @@ typedef struct _MG_Layer /** Internal field. */ void* zorder_info; -#ifdef _MGSCHEMA_SHAREDFB /** Internal field. */ int zorder_shmid; -#endif } MG_Layer; /*screen attr type*/ @@ -971,6 +969,13 @@ typedef struct _ZNODEINFO * with WS_EX_CTRLASMAINWIN style. */ HWND main_win; + +#ifdef _MGSCHEMA_COMPOSITING + /** + * The memory DC for this znode. + */ + HDC mem_dc; +#endif } ZNODEINFO; /**