diff --git a/resize.lua b/resize.lua index f0a56d2..6d7cce0 100644 --- a/resize.lua +++ b/resize.lua @@ -81,8 +81,12 @@ local function create_indicators() end function module.hide() + if not indicators then return end + for k,v in ipairs(values) do indicators[v].visible = false end + if not cur_c then return end + cur_c:disconnect_signal("property::geometry", module.display) cur_c = nil end