This problem seems to be solved by using the patch below.

Cheers, Paul
-- 
Paul Szabo   p...@maths.usyd.edu.au   http://www.maths.usyd.edu.au/u/psz/
School of Mathematics and Statistics   University of Sydney    Australia
Description: Avoid busy
  Seems hpanel is sometimes busy and non-responsive:
    https://bugs.debian.org/910479
  Maybe because we sometimes delete task twice, and/or re-use
  variable after it has been (deleted and) free-d, and/or
  because we delete task only to be re-added straight away.
  Do not do those things, respect dontdel setting.

Author: Paul Szabo <p...@maths.usyd.edu.au>

Bug-Debian: https://bugs.debian.org/910479
Forwarded: no
Last-Update: 2018-11-25

--- hpanel-0.3.2.orig/hpanel.c
+++ hpanel-0.3.2/hpanel.c
@@ -938,30 +938,27 @@
 	list = tb.task_list;
 	while (list)
 	{
 		list->focused = (focus_win == list->win);
 		next = list->next;
 
 		if (!new_desk)
 			for (i = num - 1; i >= 0; i--)
 				if (list->win == win[i])
 					goto dontdel;
 		del_task (list->win);
 dontdel:
-	
-	
-	if (tb.my_desktop != find_desktop (list->win) || is_hidden (list->win)) 
-		del_task( list->win);
 
-	
+/*	if (tb.my_desktop != find_desktop (list->win) || is_hidden (list->win)) */
+/*		del_task( list->win); */
 
 		list = next;
 	}
 
 	/* add any new windows */
 	for (i = 0; i < num; i++)
 	{
 		if (!find_task (win[i]))
 			add_task (win[i], (win[i] == focus_win));
 	}
 
 	XFree (win);

Reply via email to