On Wed, Jan 18, 2006 at 12:44:26PM +0100, Dominik Vogt wrote:
> On Sun, Jan 15, 2006 at 10:24:01PM +0000, Tavis Ormandy wrote:
> > Hello, I would really like to appeal for the removal of the XBell()
> > at line 1029 in fvwm/functions.c, part of execute_complex_function().
> > 
> 
> That's fine with me, so if someone makes a patch I'd apply it.
> 
> Ciao
> 
> Dominik ^_^  ^_^
> 

Great! How about this oneliner

--- functions.c 19 Oct 2005 06:25:18 -0000      1.270
+++ functions.c 18 Jan 2006 12:37:56 -0000
@@ -1026,7 +1026,10 @@
        if (!GrabEm(CRS_NONE, GRAB_NORMAL))
        {
                func->use_depth--;
-               XBell(dpy, 0);
+               fvwm_msg(ERR, 
+                   "ComplexFunction", 
+                   "Grab failed in function %s, unable to execute immediate 
action", 
+                   action);
                __cf_cleanup(&depth, arguments, cond_rc);
                return;
        }

Thanks, Tavis.

-- 
-------------------------------------
[EMAIL PROTECTED] | finger me for my pgp key.
-------------------------------------------------------

Reply via email to