"Really" deprecate the client marked and unmarked signals.
The doc said they were deprecated in 4.0, but back then there was no API to deprecate signals.
This commit is contained in:
parent
46026ccc2e
commit
cb9c33cda8
|
@ -1716,6 +1716,15 @@ capi.client.connect_signal("unmanage::connected", function()
|
||||||
)
|
)
|
||||||
end)
|
end)
|
||||||
|
|
||||||
|
for _, sig in ipairs {"marked", "unmarked"} do
|
||||||
|
capi.client.connect_signal(sig.."::connected", function()
|
||||||
|
gdebug.deprecate(
|
||||||
|
"Use `property::marked` rather than `".. sig .. "`",
|
||||||
|
{deprecated_in=4}
|
||||||
|
)
|
||||||
|
end)
|
||||||
|
end
|
||||||
|
|
||||||
-- Connect to "focus" signal, and allow to disable tracking.
|
-- Connect to "focus" signal, and allow to disable tracking.
|
||||||
do
|
do
|
||||||
local disabled_count = 1
|
local disabled_count = 1
|
||||||
|
|
Loading…
Reference in New Issue