"Gregory A. Shimansky" wrote:
> I use FvwmButtons and FvwmTask bar. So I do not use icons at all. I have a
> SUN keyboard with additional SUN keys so I bound Open (F17) to close the
> focused window.
is there by any chance a Close (F??) key that you could map to open
new xterm? :-)
> I also use point-to-focus focus style. When I occasionally
> move a pointer to FvwmButtons or FvwmTask windows and press Open that
> window is closed and actually disappears because I cannot restore it by
> icon and it is not shown in window list. How can I protect a window from
> being ever closed?
the close (unlike destroy) can be ignored by application (at least
that's what I see some applications doing), but I am not sure if you can
do that from outside of the application.
there is another solution though: you can make window unfocusable, so
that it never gets focus or make it so that it needs a click to get
focus. one of those might solve you problem., here's an example:
Style "oclock" StaysOnTop, NoTitle, Sticky, \
WindowListSkip, ClickToFocus
this way, the clock does not get focus when the mouse is over it and
thus would not get closed. note that the general policy can still be
point to focus, it is just changed for the particular wondow...
erik
--
Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_fvwm.org.
To report problems, send mail to fvwm-owner_at_fvwm.org.
Received on Wed Apr 12 2000 - 11:47:40 BST