awful.titlebar: remove otable usage
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
3173e698da
commit
527bbfa0e0
|
@ -8,7 +8,7 @@
|
||||||
local math = math
|
local math = math
|
||||||
local image = image
|
local image = image
|
||||||
local pairs = pairs
|
local pairs = pairs
|
||||||
local otable = require("otable")
|
local setmetatable = setmetatable
|
||||||
local capi =
|
local capi =
|
||||||
{
|
{
|
||||||
wibox = wibox,
|
wibox = wibox,
|
||||||
|
@ -27,7 +27,7 @@ local client = require("awful.client")
|
||||||
module("awful.titlebar")
|
module("awful.titlebar")
|
||||||
|
|
||||||
-- Privata data
|
-- Privata data
|
||||||
local data = otable()
|
local data = setmetatable({}, { __mode = 'k' })
|
||||||
|
|
||||||
-- Predeclaration for buttons
|
-- Predeclaration for buttons
|
||||||
local button_groups
|
local button_groups
|
||||||
|
@ -387,6 +387,5 @@ button_groups = { ontop_buttons,
|
||||||
hooks.focus.register(update)
|
hooks.focus.register(update)
|
||||||
hooks.unfocus.register(update)
|
hooks.unfocus.register(update)
|
||||||
hooks.property.register(update)
|
hooks.property.register(update)
|
||||||
hooks.unmanage.register(remove)
|
|
||||||
|
|
||||||
-- vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=80
|
-- vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=80
|
||||||
|
|
Loading…
Reference in New Issue