On 14 Dec 2002 14:16:50 +0100, Marcus Lundblad wrote: > > I'm implementing new styles to control allowed operations on windows. > Looked at the code in decorations.c (is_function_allowed) I see that the > MWM hint Close disables both Close and Destroy. > So I'm not quite sure what is the best thing to do: Follow this behavoiur > with the new style, implement an additional style or always permit > Destroy, > There is also a comment in the code: > /* shouldn't destroy always be allowed?? */ > > Maybe that should be so, Destroy should always be possible. > Thought I would want to hear som opinions.
I too feel that a window should always be destroyable by fvwm just like xkill does it. But there is another solution to this. You didn't say what Closable should mean, but I would think this is a user's setting to disable closing of some otherwise closable window. So it should affect all Delete, Close and Destroy to be useful. I think the problem of window operations disabled by hints or style may be solved by introducing a new command/prefix Force (like Silent) that would force Move/Resize/Iconify/Close otherwise disabled. Regards, Mikhael. -- 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]