From 05e044ba8ed44b3375fdf75a530552a5336f6f33 Mon Sep 17 00:00:00 2001 From: koniu Date: Thu, 27 Aug 2009 16:20:14 +0100 Subject: [PATCH] awesomerc: use awful.tag.viewtoggle Signed-off-by: koniu Signed-off-by: Julien Danjou --- awesomerc.lua.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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,