At Fri, 13 Feb 2009 23:00:09 +0100 Julien Danjou wrote: > At 1234556583 time_t, Gregor Best wrote: > > the first attached patch adds a mouse_enter and mouse_leave function to > > wiboxes which can be used in the same way as those on widgets. > > As I said on IRC, commited but amended to do both widget and wiboxes > events. > > > The second patch fixes the assignment of buttons for menu entries to allow > > clicking on any part of the entry to run its assigned function. > > Commited. > Maybe there's too much bindings for buttons/enter/leave events (doublon) > now. > > Thanks, > > Cheers,
As promised, here's a fix to patch #2. It applies on top of that and hasn't
revealed any problems.
--
Gregor Best
From da711a016f93ca79ae7d77815876e5ccc5615913 Mon Sep 17 00:00:00 2001 From: Gregor Best <[email protected]> Date: Fri, 13 Feb 2009 23:44:51 +0100 Subject: [PATCH] lib/awful/menu.lua: fix widget buttons Signed-off-by: Gregor Best <[email protected]> --- lib/awful/menu.lua.in | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/lib/awful/menu.lua.in b/lib/awful/menu.lua.in index c268edb..3c1ee5a 100644 --- a/lib/awful/menu.lua.in +++ b/lib/awful/menu.lua.in @@ -133,7 +133,6 @@ local function add_item(data, num, item_info) label.bg_image = icon end - label:buttons(bindings) item:buttons(bindings) function label.mouse_enter() mouse_enter(item, data.theme) end -- 1.6.1.2
signature.asc
Description: PGP signature
