From 7bf5c1c05ab921cb1fd711b25732b1a1ae33ed00 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Fri, 20 Jun 2014 01:36:50 +0200 Subject: Remove some annoying mouse bindings on wibox --- .config/awesome/rc.lua | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/.config/awesome/rc.lua b/.config/awesome/rc.lua index 7847a5e..527a2bc 100644 --- a/.config/awesome/rc.lua +++ b/.config/awesome/rc.lua @@ -151,17 +151,7 @@ mytaglist.buttons = awful.util.table.join( mytasklist = {} mytasklist.buttons = awful.util.table.join( awful.button({ }, 1, function (c) - if c == client.focus then - c.minimized = true - else - -- Without this, the following - -- :isvisible() makes no sense - c.minimized = false - if not c:isvisible() then - awful.tag.viewonly(c:tags()[1]) - end - -- This will also un-minimize - -- the client, if needed + if c ~= client.focus then client.focus = c c:raise() end -- cgit v1.2.3-54-g00ecf