-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Am 01.05.2010 01:04, perry wrote:
> ---
>  lib/awful/tag.lua.in |    4 +++-
>  1 files changed, 3 insertions(+), 1 deletions(-)
> 
> diff --git a/lib/awful/tag.lua.in b/lib/awful/tag.lua.in
> index 45739d1..bf2eb4d 100644
> --- a/lib/awful/tag.lua.in
> +++ b/lib/awful/tag.lua.in
> @@ -166,7 +166,9 @@ function delete(target_tag)
>      -- delete the tag
>      target_tag.screen = nil
>  
> -    history.restore(scr, 1)
> +    history.restore(scr)
> +
> +    capi.screen[target_tag.screen]:emit_signal("tag::history::update")
>  end
>  
>  --- Rename a tag

This can be merged with patch 4.

This goes to the last selected tags and drops the currently selected ones from
the history:
   history.restore(scr, 1)

This does the same without dropping the currently selected tags from the 
history:
   history.restore(scr)

And then the currently selected tags are added to the history again?
   capi.screen[target_tag.screen]:emit_signal("tag::history::update")

Why? This seems weird at least, in worst case wrong.

Uli
- -- 
- - Buck, when, exactly, did you lose your mind?
- - Three months ago. I woke up one morning married to a pineapple.
  An ugly pineapple... But I loved her!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iQEcBAEBCAAGBQJL29BvAAoJECLkKOvLj8sGMuYH/RWXRq0e9XhltLeuGttM/N76
lCZnRhKyUYnDuCXUFvmWsehymGOaZRGY4HDK/SLZtwgXP2RiZXwaJZBlQUFCB2th
cn9YRa+XWSQCb28DgiY+Z4ssq0rDhztTvU9Ib0xHAXGe891RLA0jAmXoai1EopoQ
ogAcBuNUNbAIPQYkACX2UNbURszm0azUT9ufDIsGMgz+BGYSdJ9TeeLYubxZ7pT7
tQNGhh2MOrWbEWDSaPNQMxD88R9DFz1YPTldpdBkCiLhuF3B9mOA33/dtvE3LSOJ
UXrhrbvXwpdTjAeJJHfk1wRJFTAnEZ9aW7VVWiDzYfdZfBRrjELhRb0Agie47RM=
=+C8k
-----END PGP SIGNATURE-----

-- 
To unsubscribe, send mail to [email protected].

Reply via email to