[Patch] Fix Removal Of Timer Hooks

2009-02-06 Thread Gregor Best
Hi people, the attached patch fixes a little problem I found while toying around with timer hooks: If you register some regular hooks (i.e. update the clock every 60 seconds, check for mail every 60 seconds) and afterwards register a highspeed timer hook (i.e. changing a clients opacity every

Re: [Patch] Fix Removal Of Timer Hooks

2009-02-06 Thread Julien Danjou
At 1233931031 time_t, Gregor Best wrote: The patch fixes this by regularly removing the callback from awfuls tables and then sorting the remaining hook delays with the smallest first. Afterwards, capi.hooks.timer is used to set the speed of the timer loop to the first element of that array,

Re: [Patch] Fix Removal Of Timer Hooks

2009-02-06 Thread Gregor Best
At Fri, 6 Feb 2009 15:53:45 +0100 Julien Danjou wrote: At 1233931031 time_t, Gregor Best wrote: The patch fixes this by regularly removing the callback from awfuls tables and then sorting the remaining hook delays with the smallest first. Afterwards, capi.hooks.timer is used to set the

[PATCH] titlebar: don't resize window when adding titlebar.

2009-02-06 Thread Maarten Maathuis
--- lib/awful/titlebar.lua.in | 10 -- 1 files changed, 0 insertions(+), 10 deletions(-) diff --git a/lib/awful/titlebar.lua.in b/lib/awful/titlebar.lua.in index c86d6bf..5e751c0 100644 --- a/lib/awful/titlebar.lua.in +++ b/lib/awful/titlebar.lua.in @@ -117,18 +117,8 @@ function add(c,

[ANNOUNCE] awesome 3.2-rc1 released

2009-02-06 Thread Julien Danjou
Hi awesomists, Who can take a rainbow, wrap it in a sigh, Soak it in the sun and make a groovy lemon pie ? The Candy Man, the Candy Man can! So, here it comes, package in a new awesome release candidate[1] version of your favorite window manager, versionned 3.2-rc1! They're only half the

Re: [ANNOUNCE] awesome 3.2-rc1 released

2009-02-06 Thread calmar c.
On Fri, Feb 06, 2009 at 06:03:37PM +0100, Julien Danjou wrote: Here's a rough summary of what's new: * By wibox X cursor; * New mousegrabber infrastructure; * Client move with mouse is now in Lua; * New D-Bus hooks; you can also watch D-Bus events to get information like the song played

[PATCH 1/2] titlebar: don't resize window when adding titlebar.

2009-02-06 Thread Maarten Maathuis
--- lib/awful/titlebar.lua.in | 10 -- 1 files changed, 0 insertions(+), 10 deletions(-) diff --git a/lib/awful/titlebar.lua.in b/lib/awful/titlebar.lua.in index c86d6bf..5e751c0 100644 --- a/lib/awful/titlebar.lua.in +++ b/lib/awful/titlebar.lua.in @@ -117,18 +117,8 @@ function add(c,

[PATCH 2/2] client: update client geometry when adding and removing titlebars

2009-02-06 Thread Maarten Maathuis
- This fixes titlebars again. --- titlebar.c | 12 +--- 1 files changed, 9 insertions(+), 3 deletions(-) diff --git a/titlebar.c b/titlebar.c index 7fa6e97..d5de3e4 100644 --- a/titlebar.c +++ b/titlebar.c @@ -181,6 +181,8 @@ titlebar_client_detach(client_t *c) /* If client has a

Re: [Patch] Fix Removal Of Timer Hooks

2009-02-06 Thread Gregor Best
At Fri, 6 Feb 2009 17:25:07 +0100 Julien Danjou wrote: At 1233937010 time_t, Gregor Best wrote: I just noticed a bit of odd behaviour which previously slipped by my tests. If after removing a fast timer a new fast timer was registered, the timer resolution wasn't increased. The attached

Re: [Patch] Fix Removal Of Timer Hooks

2009-02-06 Thread Julien Danjou
At 1233950281 time_t, Gregor Best wrote: Okay, it's really getting a bit embarrasing here... After a longer time of usage with a lot of notification with small timeouts, i discovered that the callback timer stored in awesome isn't updated when the resolution of the timer loop is updated.

Re: [PATCH 2/2] client: update client geometry when adding and removing titlebars

2009-02-06 Thread Julien Danjou
At 1233944000 time_t, Maarten Maathuis wrote: - This fixes titlebars again. It does. Kudos Maarten. Cheers, -- Julien Danjou // ᐰ jul...@danjou.info http://julien.danjou.info // 9A0D 5FD9 EB42 22F6 8974 C95C A462 B51E C2FE E5CD signature.asc Description: Digital signature

Re: [ANNOUNCE] awesome 3.2-rc1 released

2009-02-06 Thread Edward O'Callaghan
Hey, Some of them patches where mine and my name was not placed by them ! ;( For example: luaa: define SUN_LEN if not defined tag.h: remove extra ; client: add explicit braces widgets: use integer instead of int8_t wibox: use integer as array index It may sound silly,