Re: Mouse cursor stays busy for some time after 'awful.util.spawn()'

2011-04-28 Thread Julien Danjou
On Thu, Apr 28 2011, Michael Hauser wrote:

 Is there a way to set this globally?

Write you own wrapper function?

-- 
Julien Danjou
❱ http://julien.danjou.info


pgpwEU69xjo61.pgp
Description: PGP signature


Re: Mouse cursor stays busy for some time after 'awful.util.spawn()'

2011-04-28 Thread Gregor Best
On Thu, Apr 28, 2011 at 09:47:57AM +0200, Julien Danjou wrote:
 On Thu, Apr 28 2011, Michael Hauser wrote:
 
  Is there a way to set this globally?
 
 Write you own wrapper function?
 
 -- 
 Julien Danjou
 ❱ http://julien.danjou.info

This one for example should do the trick:

local oldspawn = awful.util.spawn
awful.util.spawn = function (s)
oldspawn(s, false)
end


-- 
$l=\n;$p=q-sub r{rand}sub c{((shift)**2+(shift)**2)1}while(
$i++=$s){$t++if c r,r}die(Gregor Best, 0xDB9F9A7C, .($t/$s*
4).$l)-;$s+=ord$$|$_ for split //,$p;srand($s|$$);eval$p;die$@


pgpSUitjY1sIk.pgp
Description: PGP signature


Re: Mouse cursor stays busy for some time after 'awful.util.spawn()'

2011-04-28 Thread Michael Hauser
On Thu, Apr 28, 2011 at 16:58, Gregor Best g...@ring0.de wrote:
 This one for example should do the trick:

 local oldspawn = awful.util.spawn
 awful.util.spawn = function (s)
    oldspawn(s, false)
 end

It does.
Thank's a lot!

Best regards,
mih

--
To unsubscribe, send mail to awesome-unsubscr...@naquadah.org.


Mouse cursor stays busy for some time after 'awful.util.spawn()'

2011-04-27 Thread Michael Hauser
Why does the mouse cursor switch to busy (i.e. the watch symbol) for
some time after e.g. 'awful.util.spawn( mpc toggle )', and how can I
stop this behavior?

Regards, mih

-- 
To unsubscribe, send mail to awesome-unsubscr...@naquadah.org.


Re: Mouse cursor stays busy for some time after 'awful.util.spawn()'

2011-04-27 Thread Adrian C.
On Wed, 27 Apr 2011, Michael Hauser wrote:

 Why does the mouse cursor switch to busy

startup-notification

 stop this behavior

http://awesome.naquadah.org/doc/api/modules/awful.util.html#spawn

true or false, true by default.

-- 
Adrian C. (anrxc) | anrxc..sysphere.org | PGP ID: D20A0618
PGP FP: 02A5 628A D8EE 2A93 996E  929F D5CB 31B7 D20A 0618

-- 
To unsubscribe, send mail to awesome-unsubscr...@naquadah.org.


Re: Mouse cursor stays busy for some time after 'awful.util.spawn()'

2011-04-27 Thread Michael Hauser
On Thu, Apr 28, 2011 at 00:52, Adrian C. an...@sysphere.org wrote:
 On Wed, 27 Apr 2011, Michael Hauser wrote:

 Why does the mouse cursor switch to busy

 startup-notification

 stop this behavior

 http://awesome.naquadah.org/doc/api/modules/awful.util.html#spawn

 true or false, true by default.

Thanks, that solves the problem:
 awful.util.spawn(mpc toggle) - awful.util.spawn(mpc toggle, false)

Is there a way to set this globally?

-- 
To unsubscribe, send mail to awesome-unsubscr...@naquadah.org.