> I have been using GGI/GII for a while now under both the X and fbdev
> targets, and am looking into using libWMH for the occasions in which my
> application is running under X...

> At present, it seems that some window managers (eg. Enlightenment)
> ignore the "close button" hint for GGI windows running on the X target,
> and cause the application to quit, whereas others (eg. WindowMaker) put
> up a disabled-looking close button that needs to be double-clicked for
> the application to quit.... 

Yes. This is because the application does not register for the "soft
closing" stuff and the WM quits the application by killing it.

> I was wondering if there were already any plans to catch the event 
> generated by the "close button" click so that an application could 
> decide whether or not it really wants to quit (or maybe ask for 
> confirmation rather than just disappearing)? 

I see. This seems a reasonable addition to allow to use LibGGI as a
substitute for X toolkits. 

> If not, would you consider it a reasonable task for GII, or should this 
> somehow be a part of WMH (not obvious how to implement this..)?

Both. They will probably have to cooperate on this matter. I'd suggest to
have a WMH call to activate the feature, but WMH will have to talk to GII
to actually implement it.

Marcus: New Event "GGI_CMD_TERMINATION_REQUESTED" ?

CU, ANdy

-- 
= Andreas Beck                    |  Email :  <[EMAIL PROTECTED]> =

Reply via email to