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 3567510e6ce569b9ad13086b254e2d769cc688bf
Author: Alastair Poole <[email protected]>
AuthorDate: Thu Apr 9 10:21:04 2026 +0100
procstats: handle client border change (boycott).
The above change detects that the window’s frame object has
changed — meaning a border style switch has occurred — and
re-attaches the procstats module to the new border. It
removes the resize tracking callback from the old frame
object so it stops following a border that no longer exists;
and updates. It re-swallows the procstats object into
“e.procstats.swallow” of the new frame && emits the
“e,state,procstats,on” signal to make it visible.
---
src/modules/procstats/e_mod_main.c | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/src/modules/procstats/e_mod_main.c b/src/modules/procstats/e_mod_main.c
index 73521cce6..868cd833a 100644
--- a/src/modules/procstats/e_mod_main.c
+++ b/src/modules/procstats/e_mod_main.c
@@ -387,6 +387,15 @@ _proc_stats_client_gone(Proc_Stats_Client *client)
if (!edje_object_part_exists(ec->frame_object, "e.procstats.swallow"))
return 1;
+ if (ec->frame_object != client->frame_obj)
+ {
+ evas_object_event_callback_del(client->frame_obj, EVAS_CALLBACK_RESIZE, _proc_stats_client_resize_cb);
+ client->frame_obj = ec->frame_object;
+ edje_object_part_swallow(ec->frame_object, "e.procstats.swallow", client->obj);
+ edje_object_signal_emit(ec->frame_object, "e,state,procstats,on", "e");
+ evas_object_event_callback_add(client->frame_obj, EVAS_CALLBACK_RESIZE, _proc_stats_client_resize_cb, client);
+ }
+
return 0;
}
}
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.