Before applying the patch top would show awesome consuming 0-1% when
visible=true, and 18-20% with visible=false.

After applying the patch awesome consumes 0-1% with visible={true,false}.

Hence, at least on my system the patch Julien applied DID fix the problem.

Cheers,

Alex


On Fri, Jan 30, 2009 at 10:29 AM, Frank Blendinger
<[email protected]>wrote:

> Hi.
>
> On Mon 2009-01-26 01:46, Frank Blendinger <[email protected]>
> proclaimed:
> > > I have a keybinding to toggle my statusbar:
> > >
> > > keybinding({ modkey,           }, "b",      function ()
> > >     mywibox[mouse.screen].visible = not mywibox[mouse.screen].visible
> > > end):add()
> > >
> > > It works as expected, but when the wibox is hidden, both Xorg and
> > > awesome consume all the available CPU power. This behavior does not
> stop
> > > until I toggle the wibox back to be visible.
> > >
> > > Tested with version 3.1.
> >
> > The bug is also present in git-master.
>
> I just tried it on my notebook (64 bit, single screen) and the problem
> is just the same as on my desktop machine (32 bit, dual screen in Zaphod
> mode). Both are running the latest git version.
>
> Sorry to be picky about this one, can't anyone reproduce this? I guess
> I'm the only one that wants to hide his statusbar from time to time
> (when I'm really trying to concentrate on something and stay on the same
> tag for a long time, to have minimal distraction), but if at least
> someone could try this out and report his results would be very helpful.
>
> All you have to do is (adapt if you have changed the name of your
> statusbar from the default config):
>
>    echo 'mywibox[1].visible = false' | awesome-client
>
> and keep an eye on top. Restore your statusbar with:
>
>    echo 'mywibox[1].visible = true' | awesome-client
>
> Thanks!
>
>
> Greetings,
> Frank
>
> --
> Frank Blendinger | fb(at)intoxicatedmind.net | GPG: 0x0BF2FE7A
> Fingerprint: BB64 F2B8 DFD8 BF90 0F2E 892B 72CF 7A41 0BF2 FE7A
>  "Just because I don't care doesn't mean I don't understand."
>                                               (Homer Simpson)
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.6 (GNU/Linux)
>
> iD8DBQFJgxzFcs96QQvy/noRAsAaAJ4g2iFrz9kuxjoFnkdnWILapaxBLACgvrCN
> nItGcDEiEiO/kGZLiWsbJT4=
> =ss8Q
> -----END PGP SIGNATURE-----
>
>

Reply via email to