remove old commented codes

This commit is contained in:
Quan Guo 2015-11-16 18:45:15 +01:00
parent ed2427ad6b
commit 2ed94b0d8f
1 changed files with 0 additions and 24 deletions

View File

@ -198,30 +198,6 @@ function revelation.expose(args)
end
---- descrepted
---- this timer is used to want the the geometry of clients are recalcuated.
---- if timeout = 0.0, it consumes cpu, timeout = 0.001 is good enough.
----
--local block_timer = timer({ timeout = 0.001 })
--local hintindex = {} -- Table of visible clients with the hint letter as the keys
--local clientlist = awful.client.visible()
--block_timer:connect_signal("timeout", function ()
--for i,thisclient in pairs(clientlist) do
---- Move wiboxes to center of visible windows and populate hintindex
--local char = charorder:sub(i,i)
--hintindex[char] = thisclient
--hintbox[char].visible = true
--local geom = thisclient.geometry(thisclient)
--hintbox[char].x = geom.x + geom.width/2 - hintsize/2
--hintbox[char].y = geom.y + geom.height/2 - hintsize/2
--hintbox[char].screen = thisclient.screen
--end
--end)
--block_timer:start()
function revelation.restore(t, zt)
for scr=1, capi.screen.count() do
awful.tag.history.restore(scr)