From 9aa801cc97266cd41e6d6b3887ca55b1b371520e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emmanuel=20Lepage=20Vall=C3=A9e?= Date: Sun, 19 Mar 2017 16:28:38 -0400 Subject: [PATCH] doc: Add 2 missing tag singals --- lib/awful/tag.lua | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/lib/awful/tag.lua b/lib/awful/tag.lua index 6fa59a28..3197e0d6 100644 --- a/lib/awful/tag.lua +++ b/lib/awful/tag.lua @@ -1454,6 +1454,20 @@ capi.tag.connect_signal("request::select", tag.object.view_only) -- @signal property::urgent_count -- @see client.urgent +--- Emitted when a screen is removed. +-- This can be used to salvage existing tags by moving them to a new +-- screen (or creating a virtual screen). By default, there is no +-- handler for this request. The tags will be deleted. To prevent +-- this, an handler for this request must simply set a new screen +-- for the tag. +-- @signal request::screen + +--- Emitted after `request::screen` if no new screen has been set. +-- The tag will be deleted, this is a last chance to move its clients +-- before they are sent to a fallback tag. Connect to `request::screen` +-- if you wish to salvage the tag. +-- @signal removal-pending + capi.screen.connect_signal("tag::history::update", tag.history.update) capi.screen.connect_signal("removed", function(s)