nanogui: Thread: What does mean unmapcount ?


[<<] [<] Page 1 of 1 [>] [>>]
Subject: What does mean unmapcount ?
From: "dag4004" ####@####.####
Date: 29 Apr 2002 09:59:03 -0000
Message-Id: <ABELIEFBCONNEALJIHACMEOBCAAA.dag4004@free.fr>

Hello,


Does some one know what does mean the unmapcount field in the hwn struct ?
The comment near the declaration doesn't help me :
/* count of reasons not really mapped */ 


Thanks for help.


Subject: Re: [nanogui] What does mean unmapcount ?
From: "Greg Haerr" ####@####.####
Date: 29 Apr 2002 16:23:39 -0000
Message-Id: <014101c1ef98$dff3d150$6401a8c0@gregnewport>

> Does some one know what does mean the unmapcount field in the hwn struct ?
> The comment near the declaration doesn't help me :
> /* count of reasons not really mapped */ 

The unmapcount field counts the number of 
reasons that the window is not actually mapped for.
There is the user-set field, visible, which indicates whether
the user wants the window visible.  But the unmapcount
is necessary because the window may be not visible
for other reasons, for instance because it's obscured
by others, or it's parent is not mapped.  So, the unmapcount
field gets incremented for each parent that's unmapped, etc.

Regards,

Greg

[<<] [<] Page 1 of 1 [>] [>>]


Powered by ezmlm-browse 0.20.