This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository enlightenment.

View the commit online.

commit 9c87cd3eeb8a61ac09ba64d866da982de1f34187
Author: Carsten Haitzler <ras...@rasterman.com>
AuthorDate: Wed Jan 29 18:21:33 2025 +0000

    ibar - if an e client thats in the ibar hover menu then hide the menu
    
    this means we dont keep a menu with junk references in it around and
    should fix someone accidentally seleting a client border/win that just
    closed/vanished
    
    @fix
---
 src/modules/ibar/e_mod_main.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/modules/ibar/e_mod_main.c b/src/modules/ibar/e_mod_main.c
index 988aed0cf..38581484a 100644
--- a/src/modules/ibar/e_mod_main.c
+++ b/src/modules/ibar/e_mod_main.c
@@ -2718,6 +2718,11 @@ _ibar_cb_client_del(void *d EINA_UNUSED, int t EINA_UNUSED, E_Event_Client *ev)
         ic = eina_hash_find(b->icon_hash, _desktop_name_get(ev->ec->desktop));
         if (ic)
           {
+             if (b->menu_icon == ic)
+               {
+                  Eina_Bool grabbed = b->menu_icon->menu_grabbed;
+                  _ibar_icon_menu_hide(ic, grabbed);
+               }
              if (ic->not_in_order)
                {
                   EINA_LIST_FOREACH(ic->exes, ll, exe)

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.

Reply via email to