diff options
author | Tom Willemse | 2014-06-20 01:36:50 +0200 |
---|---|---|
committer | Tom Willemse | 2014-06-20 01:36:50 +0200 |
commit | 7bf5c1c05ab921cb1fd711b25732b1a1ae33ed00 (patch) | |
tree | f23ebf091005c48a6802117b3ed2c4087d1b7f9b | |
parent | e37bd3a0ba3197cba28baff9f19c7f5ebbb8bb25 (diff) | |
download | awesome-7bf5c1c05ab921cb1fd711b25732b1a1ae33ed00.tar.gz awesome-7bf5c1c05ab921cb1fd711b25732b1a1ae33ed00.zip |
Remove some annoying mouse bindings on wibox
-rw-r--r-- | .config/awesome/rc.lua | 12 |
1 files changed, 1 insertions, 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 |