From 3d826ff7cb1f228d9ebb18ab800b9fded2097ee5 Mon Sep 17 00:00:00 2001 From: Vincent Wei Date: Wed, 5 Feb 2020 17:26:09 +0800 Subject: [PATCH] disable age in ZNODEHEADER for _MGSCHEMA_COMPOSITING --- include/minigui.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/minigui.h b/include/minigui.h index c2317d76..58ddb9eb 100644 --- a/include/minigui.h +++ b/include/minigui.h @@ -1162,9 +1162,6 @@ typedef struct _ZNODEHEADER { /** Client id of the z-node. */ int cli; - /** The z-node change age; no use for compositing schema */ - unsigned int age; - #ifdef _MGSCHEMA_COMPOSITING /** The count for changes of the content. */ unsigned int changes; @@ -1190,6 +1187,9 @@ typedef struct _ZNODEHEADER { /** The pointer to the dirty rectangles. */ const RECT* dirty_rcs; +#else + /** The z-node change age; no use for compositing schema */ + unsigned int age; #endif } ZNODEHEADER;