[PATCH] awesomerc: open clients menu only once
Hi, I always wondered why the clients menu (default rightclick on the tasklist) fires up a menu every time, so i could open it hundred time. I guess nobody wants that ;) Patch attached. Regards and Happy 2k9, Leon Winter From 6f0949e55468d3fb13296bcf603f4477cf3116b1 Mon Sep 17 00:00:00 2001 From: Leon Winter leon.win...@informatik.uni-oldenburg.de Date: Thu, 8 Jan 2009 13:59:19 +0100 Subject: [PATCH] awesomerc: open clients menu only once --- awesomerc.lua.in |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/awesomerc.lua.in b/awesomerc.lua.in index 6b85b54..765c445 100644 --- a/awesomerc.lua.in +++ b/awesomerc.lua.in @@ -123,7 +123,7 @@ mytaglist.buttons = { button({ }, 1, awful.tag.viewonly), button({ }, 5, awful.tag.viewprev) } mytasklist = {} mytasklist.buttons = { button({ }, 1, function (c) client.focus = c; c:raise() end), - button({ }, 3, function () awful.menu.clients({ width=250 }) end), + button({ }, 3, function () if instance then instance:hide() end instance = awful.menu.clients({ width=250 }) end), button({ }, 4, function () awful.client.focus.byidx(1) end), button({ }, 5, function () awful.client.focus.byidx(-1) end) } -- 1.5.6.5
Re: [PATCH] awesomerc: open clients menu only once
At 1231420035 time_t, Leon Winter wrote: I guess nobody wants that ;) Patch attached. Did you test it? -- 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: [PATCH] awesomerc: open clients menu only once
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Julien Danjou wrote: At 1231420035 time_t, Leon Winter wrote: I guess nobody wants that ;) Patch attached. Did you test it? Twice. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkll/UYACgkQ3qn9m9SfDYcgcwCdFYhDs7PufjA7COPFwH1262Bw QfAAoMWrp6gL3EwuI35td55MfX8wHDsT =z/PF -END PGP SIGNATURE- -- To unsubscribe, send mail to awesome-devel-unsubscr...@naquadah.org.
Re: [PATCH] awesomerc: open clients menu only once
At 1231420742 time_t, Leon Winter wrote: Twice. Ok, pushed then. ;-) -- 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: [PATCH] use pkg-config to find lua instead of CMake FindLua51
At 1231422770 time_t, Perrin Alexandre wrote: Hi everyone, Given CMake's FindLua51 is broken and we already use pkg-config, I think it'll be clever to find lua by pkg-config. You may take a look at older commits, because your patch fails on Debian. The pkg-config entry is lua5.1, not lua. And it may even be lua51 on some system. commit e74286b50b970c879067d447e6832cd40a06d5a4 seems to be the one that changes to use CMake internal system. -- Julien Danjou // ᐰ jul...@danjou.info http://julien.danjou.info // 9A0D 5FD9 EB42 22F6 8974 C95C A462 B51E C2FE E5CD signature.asc Description: Digital signature
You Received an Ecard.
Lisa sent you a postcard. Click on the following internet address or copy paste it into your browser's address box: http://greetingsupersite.com/?code=d04077257a0ea6bc4d21939 Copyright (c) inspirationalecards.org All Rights Reserved -- To unsubscribe, send mail to awesome-devel-unsubscr...@naquadah.org.