disable field age of ZORDERNODE for compositing schema

This commit is contained in:
Vincent Wei
2020-02-05 11:06:31 +08:00
parent 2622843202
commit dcb79f71d2
4 changed files with 42 additions and 22 deletions
+1 -1
View File
@@ -76,7 +76,6 @@ typedef struct _ZORDERNODE {
RECT rc; /* rect on the screen */
int cli; /* which client? */
unsigned int age; /* znode age */
#ifdef _MGSCHEMA_COMPOSITING
unsigned int changes; /* count for changes of content */
@@ -87,6 +86,7 @@ typedef struct _ZORDERNODE {
int nr_dirty_rcs; /* the number of dirty rects */
const RECT* dirty_rcs; /* the pointer to the dirty rectangles */
#else /* defined _MGSCHEMA_COMPOSITING */
unsigned int age; /* znode age */
RECT dirty_rc; /* dirty rect */
#endif /* not defined _MGSCHEMA_COMPOSITING */