On Tue, May 21, 2002 at 01:49:21PM +0000, Mikhael Goikhman wrote:
> On 21 May 2002 12:40:56 +0200, Dominik Vogt wrote:
> > 
> > On Mon, May 20, 2002 at 09:51:53PM +0000, Mikhael Goikhman wrote:
> > > After any tear-off menu is created (and possibly closed),
> > > "MenuStyle * something" refuses to work until restart:
> > 
> > Hm.  Of course it is in use.  Making a copy of the whole menu
> > style for each tear off menu seems to be overkill, though.
> 
> Why a menu style is in use after all tear-off menus are closed?
> I.e. the question is why ST_USAGE_COUNT is not 0 in this case.

Ah, I see.  When the menu is torn off, the ST_USAGE_COUNT is
decreased by 1 (to 0), but not increased again when the tear off
menu is swallowed in the window frame.  When it is finally closed,
the usage count is decreased by another 1.

Bye

Dominik ^_^  ^_^

-- 
Dominik Vogt, email: [EMAIL PROTECTED]
LifeBits Aktiengesellschaft, Albrechtstr. 9, D-72072 Tuebingen
fon: ++49 (0) 7071/7965-0, fax: ++49 (0) 7071/7965-20
--
Visit the official FVWM web page at <URL:http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm-workers" in the
body of a message to [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]

Reply via email to