diff --git a/awesomerc.lua.in b/awesomerc.lua.in index 2c32772a4..724c539f8 100644 --- a/awesomerc.lua.in +++ b/awesomerc.lua.in @@ -78,7 +78,7 @@ mytaglist = {} mytaglist.buttons = awful.util.table.join( awful.button({ }, 1, awful.tag.viewonly), awful.button({ modkey }, 1, awful.client.movetotag), - awful.button({ }, 3, function (tag) tag.selected = not tag.selected end), + awful.button({ }, 3, awful.tag.viewtoggle), awful.button({ modkey }, 3, awful.client.toggletag), awful.button({ }, 4, awful.tag.viewnext), awful.button({ }, 5, awful.tag.viewprev) @@ -247,7 +247,7 @@ for i = 1, keynumber do function () local screen = mouse.screen if tags[screen][i] then - tags[screen][i].selected = not tags[screen][i].selected + awful.tag.viewtoggle(tags[screen][i]) end end), awful.key({ modkey, "Shift" }, i,