I thought I figured out how to restart flwm display 0 & 1 on menu updates by changing the flwm_restart script as shown below. The script seems to restart flwm for both displays but it does not fix the menu update problems. For instance when I uninstall emelfm2 the wbar button goes away but the menu entries do not. So it looks like something else in addition to flwm_restart needs to be updated. Any ideas?
#!/bin/sh
restart() {
killall flwm
DISPLAY=:0.0 flwm &
[ -e /tmp/.X11-unix/X1 ] && DISPLAY=:1.0 flwm &
}
WBARPID=$(pidof flwm)
[ -n "$WBARPID" ] && restart
-------------------------------------------------------------------------------
Edit: Clearing out uninstalled menu entries appears to be in the tcz-uninstall script.