diff --git a/mpanel/launcher/module.c b/mpanel/launcher/module.c index 4e76469..be6884a 100644 --- a/mpanel/launcher/module.c +++ b/mpanel/launcher/module.c @@ -101,6 +101,7 @@ void module_reload(MwWidget box, MwWidget user, xl_node_t* node) { btn = MwVaCreateWidget(MwButtonClass, "button", user, x, y, 18, 18, MwNflat, 1, MwNpixmap, px, + MwNborderWidth, 1, NULL); MwVaApply(btn, diff --git a/startmde/startmde.in b/startmde/startmde.in index c476d9e..68b534c 100755 --- a/startmde/startmde.in +++ b/startmde/startmde.in @@ -13,6 +13,12 @@ reload_all () { kill_all -HUP } +restart_all () { + kill_all + sleep 0.5 + start_all +} + start_all () { "@CMAKE_INSTALL_FULL_BINDIR@/mpanel" & PANEL="$!" @@ -24,6 +30,7 @@ start_all () { trap "stop_all" INT trap "stop_all" TERM trap "reload_all" HUP +trap "restart_all" USR1 start_all