From c47b5daf7574b1cf1368fed1c91fa10779a147bb Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Sat, 11 Apr 2009 14:09:07 +0200 Subject: [PATCH] tabulous: stop using otable Signed-off-by: Julien Danjou --- lib/tabulous.lua.in | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/lib/tabulous.lua.in b/lib/tabulous.lua.in index ebf520b1..f364b1c6 100644 --- a/lib/tabulous.lua.in +++ b/lib/tabulous.lua.in @@ -9,14 +9,16 @@ local capi = { client = client } local table = table local pairs = pairs +local setmetatable = setmetatable local awful = require('awful') -local otable = require("otable") --- Fabulous tabs module("tabulous") -local tabbed_tags = otable() -- all tab tables, indexed by tab -local tabbed = {} -- the current tag tab table +-- all tab tables, indexed by tab +local tabbed_tags = setmetatable({}, { __mode = 'k' }) +-- the current tag tab table +local tabbed = {} local active_tag